Message class abstract

The server can send errors and notices, or the network can cause errors while the connection is not being used to make a query. See ClientMessage and ServerMessage for more information.

Implementers

Constructors

Message()

Properties

connectionName String?
An identifier for the connection. Useful for logging messages in a connection pool.
no setter
hashCode int
The hash code for this object.
no setterinherited
isError bool
Returns true if this is an error, otherwise it is a server-side notice, or logging.
no setter
message String?
A human readible error message, typically one line.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity String?
For a ServerMessage from an English localized database the field contents are ERROR, FATAL, or PANIC, for an error message. Otherwise in a notice message they are WARNING, NOTICE, DEBUG, INFO, or LOG.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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