Exception: RStyx::FidNotFoundException
- Inherits:
-
StyxException
- Object
- RuntimeError
- StyxException
- RStyx::FidNotFoundException
- Defined in:
- lib/rstyx/errors.rb
Overview
Raised when a FID not in use is referenced.
Instance Attribute Summary collapse
-
#fid ⇒ Object
Returns the value of attribute fid.
Instance Method Summary collapse
-
#initialize(fid) ⇒ FidNotFoundException
constructor
A new instance of FidNotFoundException.
- #message ⇒ Object
Constructor Details
#initialize(fid) ⇒ FidNotFoundException
Returns a new instance of FidNotFoundException.
43 44 45 |
# File 'lib/rstyx/errors.rb', line 43 def initialize(fid) @fid = fid end |
Instance Attribute Details
#fid ⇒ Object
Returns the value of attribute fid.
41 42 43 |
# File 'lib/rstyx/errors.rb', line 41 def fid @fid end |
Instance Method Details
#message ⇒ Object
47 48 49 |
# File 'lib/rstyx/errors.rb', line 47 def return("FID #{@fid} is already in use.") end |