Exception: Cumuliform::Error::FragmentNotFound

Inherits:
IDError
  • Object
show all
Defined in:
lib/cumuliform/error.rb

Overview

raised when a Fragment lookup fails

Instance Attribute Summary

Attributes inherited from IDError

#id

Instance Method Summary collapse

Methods inherited from IDError

#initialize

Constructor Details

This class inherits a constructor from Cumuliform::Error::IDError

Instance Method Details

#to_sObject

returns human-readable error message



43
44
45
# File 'lib/cumuliform/error.rb', line 43

def to_s
  "No fragment with name '#{id}'"
end