Class RinkuException
- Namespace
- Rinku
- Assembly
- Rinku.dll
The base class for errors reported by Rinku. Use Code when application code must identify a specific error.
public abstract class RinkuException : Exception, ISerializable
- Inheritance
-
RinkuException
- Implements
- Derived
- Inherited Members
- Extension Methods
Remarks
See ErrorCodes for the available codes.
Constructors
RinkuException(string, string, Exception?)
Creates a Rinku error with a stable code.
protected RinkuException(string code, string message, Exception? innerException = null)
Parameters
codestringOne of the constants on ErrorCodes.
messagestringWhat failed, naming the specific thing that failed.
innerExceptionExceptionThe original error when one is available.
Properties
Code
The RINKU#### identifier for the condition that failed.
public string Code { get; }