You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
941 B
28 lines
941 B
// Author: Gockner, Simon
|
|
// Created: 2019-06-07
|
|
// Copyright(c) 2019 SimonG. All Rights Reserved.
|
|
|
|
using System;
|
|
|
|
namespace LightweightIocContainer.Exceptions
|
|
{
|
|
/// <summary>
|
|
/// An error happened while trying to resolve a multiton
|
|
/// </summary>
|
|
internal class MultitonResolveException : InternalResolveException
|
|
{
|
|
/// <summary>
|
|
/// An error happened while trying to resolve a multiton
|
|
/// </summary>
|
|
/// <param name="message">The exception message</param>
|
|
/// <param name="type">The <see cref="System.Type"/> of the multiton that's responsible for the exception</param>
|
|
public MultitonResolveException(string message, Type type)
|
|
: base(message) =>
|
|
Type = type;
|
|
|
|
/// <summary>
|
|
/// The <see cref="System.Type"/> of the multiton that's responsible for the exception
|
|
/// </summary>
|
|
public Type Type { get; }
|
|
}
|
|
} |