Class SliceException
Represents the base class for exceptions defined in Slice.
public abstract class SliceException : Exception, ISerializable
- Inheritance
-
SliceException
- Implements
- Derived
- Inherited Members
Constructors
SliceException(string?, Exception?)
Constructs a Slice exception with the provided message and inner exception.
protected SliceException(string? message = null, Exception? innerException = null)
Parameters
message
stringA message that describes the exception.
innerException
ExceptionThe inner exception.
Methods
Encode(ref SliceEncoder)
Encodes this exception.
public void Encode(ref SliceEncoder encoder)
Parameters
encoder
SliceEncoderThe Slice encoder.