// Author: Gockner, Simon
// Created: 2019-06-07
// Copyright(c) 2019 SimonG. All Rights Reserved.
using System;
namespace LightweightIocContainer.Exceptions
{
///
/// An error happened while trying to resolve a multiton
///
internal class MultitonResolveException : InternalResolveException
{
///
/// An error happened while trying to resolve a multiton
///
/// The exception message
/// The of the multiton that's responsible for the exception
public MultitonResolveException(string message, Type type)
: base(message) =>
Type = type;
///
/// The of the multiton that's responsible for the exception
///
public Type Type { get; }
}
}