The type of the success value (for type compatibility)
The type of the error object
The RnException instance created from the error
Protected OptionalvalThe value to store (either success value or error)
Gets the name of this result class.
The constructor name ('Ok' or 'Err')
Converts this error to a string representation.
The stack trace from the contained exception
Represents a failed result containing an error. This class indicates that an operation failed with specific error information.