Exception: Domainic::Attributer::CoercionExecutionError

Inherits:
Error
  • Object
show all
Defined in:
lib/domainic/attributer/errors/coercion_execution_error.rb

Overview

A specialized error class for coercion execution failures

This error class is used when a coercion fails during attribute value processing. It captures the failing coercer to provide context about which step in the coercion chain caused the failure

Author:

Since:

  • 0.2.0

Instance Attribute Summary collapse

Instance Attribute Details

#coercerProc, Symbol (readonly)

Get the coercer that failed

Returns:

  • (Proc, Symbol)

    the coercer that failed

Since:

  • 0.2.0



19
20
21
# File 'lib/domainic/attributer/errors/coercion_execution_error.rb', line 19

def coercer
  @coercer
end