Skip to content

class Crystal::TypeException
inherits Crystal::CodeError

Included modules

Crystal::ErrorFormat

Direct known subclasses

Crystal::FrozenTypeException Crystal::MacroRaiseException Crystal::UndefinedMacroMethodError

Class methods

.for_node(node, message, inner = nil)

View source

.new(message, line_number, column_number : Int32, filename, size, inner = nil)

View source

.new(message : String, location : Location)

View source

.new(message : String)

View source

Methods

#append_to_s(io : IO, source)

View source

#color=(color)

View source

#column_number : Int32

View source

#deepest_error_message

View source

#default_message

View source

#error_headline(msg)

View source

#error_trace=(error_trace)

View source

#has_location?

View source

#inner=(inner : CodeError?)

View source

#inspect_with_backtrace(io : IO) : Nil

View source

#line_number : Int32?

View source

#node

View source

#size : Int32

View source

#to_json_single(json)

View source

#to_s_with_source(io : IO, source)

View source

#warning=(warning)

View source