class RemiAudio::Cue::ParseError
- RemiAudio::Cue::ParseError
- RemiAudio::Cue::Error
- RemiAudio::RemiAudioError
- Exception
- Reference
- Object
Overview
Represents an error condition that occured while parsing a CUE sheet.
Defined in:
remiaudio/cue.crConstructors
-
.new(msg : String, parser : Parser, causedBy : Exception | Nil = nil)
Creates a new
ParseError
instance, taking line and column information from parser.
Instance Method Summary
-
#column : Int64
The column near where the error occurred, or
-1
if it can't be determined. - #inspect_with_backtrace(io : IO) : Nil
-
#line : Int64
The line near where the error occurred, or
-1
if it can't be determined. -
#to_s(io : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
Constructor Detail
def self.new(msg : String, parser : Parser, causedBy : Exception | Nil = nil)
#
Creates a new ParseError
instance, taking line and column information
from parser.
Instance Method Detail
Description copied from class Reference
Appends a short String representation of this object which includes its class name and its object address.
class Person
def initialize(@name : String, @age : Int32)
end
end
Person.new("John", 32).to_s # => #<Person:0x10a199f20>