class RemiAudio::Cue::ParseError

Overview

Represents an error condition that occured while parsing a CUE sheet.

Defined in:

remiaudio/cue.cr

Constructors

Instance Method Summary

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.


[View source]

Instance Method Detail

def column : Int64 #

The column near where the error occurred, or -1 if it can't be determined.


[View source]
def inspect_with_backtrace(io : IO) : Nil #

[View source]
def line : Int64 #

The line near where the error occurred, or -1 if it can't be determined.


[View source]
def to_s(io : IO) : Nil #
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>

[View source]