struct

ECS::LogEntry::Error

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new

Initialize all values as nil

Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

code(new_value : String)

A chainable setter for code

Source
code

error.code

Error code describing the error.

Level: Core Type: Keyword

Source
code=(code : String | Nil)

error.code

Error code describing the error.

Level: Core Type: Keyword

Source
id(new_value : String)

A chainable setter for id

Source
id

error.id

Unique identifier for the error.

Level: Core Type: Keyword

Source
id=(id : String | Nil)

error.id

Unique identifier for the error.

Level: Core Type: Keyword

Source
message(new_value : String)

A chainable setter for message

Source
message

error.message

Error message.

Level: Core Type: Text

Source
message=(message : String | Nil)

error.message

Error message.

Level: Core Type: Text

Source
stack_trace(new_value : String)

A chainable setter for stack_trace

Source
stack_trace

error.stack_trace

The stack trace of this error in plain text.

Level: Extended Type: Keyword

Source
stack_trace=(stack_trace : String | Nil)

error.stack_trace

The stack trace of this error in plain text.

Level: Extended Type: Keyword

Source
type(new_value : String)

A chainable setter for type

Source
type

error.type

The type of the error, for example the class name of the exception.

Level: Extended Type: Keyword Example:

java.lang.NullPointerException
Source
type=(type : String | Nil)

error.type

The type of the error, for example the class name of the exception.

Level: Extended Type: Keyword Example:

java.lang.NullPointerException
Source