class PheltObject::Error

Defined in:

object/object.cr

Constant Summary

TYPE = "error"

Constructors

Instance Method Summary

Constructor Detail

def self.new(message : ::String, pretty : ::String, line : Int32, column : Int32) #

[View source]

Instance Method Detail

def column : Int32 #

[View source]
def column=(column : Int32) #

[View source]
def inspect : String #
Description copied from class Object

Returns an unambiguous and information-rich string representation of this object, typically intended for developers.

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

Also see #to_s.


[View source]
def line : Int32 #

[View source]
def line=(line : Int32) #

[View source]
def message : ::String #

[View source]
def message=(message : ::String) #

[View source]
def pretty : ::String #

[View source]
def pretty=(pretty : ::String) #

[View source]
def type #

[View source]