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?, msg = nil, cause = nil, argument : String? = nil)
Instance Method Summary
- #argument : String?
- #argument=(argument : String?)
- #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?, location_end : Crinja::Parser::StreamPosition?)at(node) at, has_location? has_location?, location_end : Parser::StreamPosition? location_end, location_start : Parser::StreamPosition? location_start, template : Template? template, template=(template : Template?) 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?, msg = nil, cause = nil, argument : String? = nil)
#
Instance Method Detail
def callee=(callee : Crinja::Callable | Crinja::Operator | Crinja::Arguments -> Crinja::Value | Nil)
#