Exception: Rfm::Error::FileMakerError
- Inherits:
-
Exception
- Object
- Exception
- Rfm::Error::FileMakerError
- Defined in:
- lib/rfm_error.rb
Direct Known Subclasses
FieldMissingError, LayoutMissingError, RecordMissingError, RelationshipMissingError
Class Method Summary collapse
Class Method Details
.instance(error_code) ⇒ Object
3 4 5 6 7 8 9 10 11 |
# File 'lib/rfm_error.rb', line 3 def self.instance(error_code) case error_code when 101 then return RecordMissingError.new when 102 then return FieldMissingError.new when 104 then return RelationshipMissingError.new when 105 then return LayoutMissingError.new else return FileMakerError.new end end |