ServerErrorParams class

server.error params

{ "isFatal": bool "message": String "stackTrace": String }

Clients may not extend, implement or mix-in this class.

Constructors

ServerErrorParams(bool isFatal, String message, String stackTrace)
ServerErrorParams.fromJson(JsonDecoder jsonDecoder, String jsonPath, Object? json)
factory
ServerErrorParams.fromNotification(Notification notification)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
isFatal bool
True if the error is a fatal error, meaning that the server will shutdown automatically after sending this notification.
getter/setter pair
message String
The error message indicating what kind of error was encountered.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackTrace String
The stack trace associated with the generation of the error, used for debugging the server.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object>
Returns a JSON presentation of the object.
toNotification() Notification
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override