Error Types
CasualOSError
Defines a class that represents a generic CasualOS error.
Members
cause? unknown
errorCode string
The error code that occurred.
errorMessage string
The error message that occurred.
message string
name string
stack? string
stackTraceLimit number
constructor(error: (string | GenericError)): CasualOSError
The first parameter is a (string | GenericError) and