Exception: Cumuliform::Error::FragmentAlreadyDefined

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

Overview

raised when a Fragment with the same ID has already been defined

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



35
36
37
# File 'lib/cumuliform/error.rb', line 35

def to_s
  "Fragment '#{id}' already defined"
end