Exception: RStyx::FidNotFoundException

Inherits:
StyxException show all
Defined in:
lib/rstyx/errors.rb

Overview

Raised when a FID not in use is referenced.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#fidObject

Returns the value of attribute fid.



41
42
43
# File 'lib/rstyx/errors.rb', line 41

def fid
  @fid
end

Instance Method Details

#messageObject



47
48
49
# File 'lib/rstyx/errors.rb', line 47

def message
  return("FID #{@fid} is already in use.")
end