class

Therapy::Error

Inherits Reference < Object

Constructors

new(message : String, path : Array(Int32 | String) = [] of String | Int32)
Source

Instance methods

message
Source
path

String | Int32 because the path to the field could be through an array

Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source