Error

An Error represents information extracted from a Throwable.

Functions

Link copied to clipboard
Gets the fully-qualified class name of the Throwable
Link copied to clipboard
The message string from the Throwable
Link copied to clipboard
Gets a representation of the stacktrace
Link copied to clipboard
Sets the type of error based on the originating platform (intended for internal use only)
Link copied to clipboard
open fun setErrorClass(@NonNull errorClass: String)
Sets the fully-qualified class name of the Throwable
Link copied to clipboard
open fun setErrorMessage(@Nullable errorMessage: String)
The message string from the Throwable
Link copied to clipboard
open fun setType(@NonNull type: ErrorType)
Sets the type of error based on the originating platform (intended for internal use only)
Link copied to clipboard
open fun toStream(@NonNull stream: JsonStream)