class
Crinja::Arguments::Error
- Crinja::Arguments::Error
- Crinja::RuntimeError
- Crinja::Error
- Exception
- Reference
- Object
Defined in:
arguments.crConstructors
- .new(argument : Symbol | String, msg = nil, cause = nil)
- .new(callee : Callable | Callable::Proc | Operator | Nil, msg = nil, cause = nil, argument : Nil | String = nil)
Instance Method Summary
- #argument : String | Nil
- #argument=(argument : String | Nil)
- #callee : Crinja::Callable | Crinja::Operator | Crinja::Arguments -> Crinja::Value | Nil
- #callee=(callee : Crinja::Callable | Crinja::Operator | Crinja::Arguments -> Crinja::Value | Nil)
- #message
Instance methods inherited from class Crinja::Error
at(location_start : Crinja::Parser::StreamPosition | Nil, location_end : Crinja::Parser::StreamPosition | Nil)at(node) at, has_location? has_location?, location_end : Parser::StreamPosition | Nil location_end, location_start : Parser::StreamPosition | Nil location_start, template : Template | Nil template, template=(template : Template | Nil) template=
Instance methods inherited from module Crinja::SourceAttached
highlight_source_code(io, lines_before = 2, lines_after = 2)
highlight_source_code,
message
message,
message_location(io)
message_location
Constructor Detail
def self.new(callee : Callable | Callable::Proc | Operator | Nil, msg = nil, cause = nil, argument : Nil | String = nil)
#
Instance Method Detail
def callee=(callee : Crinja::Callable | Crinja::Operator | Crinja::Arguments -> Crinja::Value | Nil)
#