Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: TranslatableException<TTranslation>(Func<TTranslation, string>, Exception)

Declaration

public TranslatableException<TTranslation>(
    Func<TTranslation, string> getMessage,
    Exception inner
)

Summary

Constructor.

Parameters

Func<TTranslation, string>getMessageA function which returns the exception message given a TTranslation object. This would usually be of the form "tr => tr.FieldName" or "tr => tr.FieldName.Fmt(parameters)".
ExceptioninnerInner exception.