Constructs an exception with the provided detail message and an error code.

C# |
public FailureException( string message, int errorCode )

- message (String)
- The detail message. The detail message can be accessed through the Message property.
- errorCode (Int32)
- The error code. The error code can be accessed through the ErroCode property.