Method: MediaTypes::UnexpectedValidationResultError#message
- Defined in:
- lib/media_types/scheme.rb
#message ⇒ Object
41 42 43 44 45 46 47 48 |
# File 'lib/media_types/scheme.rb', line 41 def format( '%<caller_path>s:%<caller_line>s -> %<error>s', caller_path: fixture_caller.path, caller_line: fixture_caller.lineno, error: error.is_a?(MediaTypes::Scheme::ValidationError) ? "#{error.class}:#{error.}" : error ) end |