 | UtilsTExtensionCreateError Method |
Create an error from a error kind and a message
Namespace:
EBP.Api
Assembly:
EBP.Api (in EBP.Api.dll) Version: 1.0.2835.45 (1.0.2835.45)
Syntaxpublic static IError CreateError(
ErrorKind kind,
string message
)
Public Shared Function CreateError (
kind As ErrorKind,
message As String
) As IError
Parameters
- kind
- Type: EBP.Api.Interfaces.MiscErrorKind
Error kind - message
- Type: SystemString
Error message
Return Value
Type:
IErrorCreated error
See Also