Exception: Lingo::SourceFileNotFoundError
- Inherits:
-
FileNotFoundError
- Object
- StandardError
- LingoError
- FileNotFoundError
- Lingo::SourceFileNotFoundError
- Defined in:
- lib/lingo/error.rb
Instance Attribute Summary (collapse)
-
- (Object) id
readonly
Returns the value of attribute id.
Attributes inherited from FileNotFoundError
Instance Method Summary (collapse)
-
- (SourceFileNotFoundError) initialize(name, id)
constructor
A new instance of SourceFileNotFoundError.
- - (Object) to_s
Constructor Details
- (SourceFileNotFoundError) initialize(name, id)
A new instance of SourceFileNotFoundError
153 154 155 156 |
# File 'lib/lingo/error.rb', line 153 def initialize(name, id) super(name) @id = id end |
Instance Attribute Details
- (Object) id (readonly)
Returns the value of attribute id
151 152 153 |
# File 'lib/lingo/error.rb', line 151 def id @id end |
Instance Method Details
- (Object) to_s
158 159 160 |
# File 'lib/lingo/error.rb', line 158 def to_s "No such source file `#{name}' for `#{id}'." end |