Exception: Cumuliform::Error::EmptyItem

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

Overview

raised when an item (e.g. Resource or Parameter) to be output contains nothing

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



52
53
54
# File 'lib/cumuliform/error.rb', line 52

def to_s
  "Empty item '#{id}'"
end