PostSharp / / API Reference / Post­Sharp.​Patterns.​Contracts / Regular­Expression­Attribute / Get­Error­Message
Open sandbox

Method GetErrorMessage

GetErrorMessage()

Gets unformatted error message as defined by the instance.

Declaration
protected override string GetErrorMessage()
Returns
Type Description
String
Overrides
LocationContractAttribute.GetErrorMessage()