Sha256: 901829440785442ed771a87ef588c0c901099fc085002f5fbffcc0553f09dc1a

Contents?: true

Size: 192 Bytes

Versions: 10

Compression:

Stored size: 192 Bytes

Contents

exception = locals[:exception]

object exception => :error

attributes :message
node(:class) { exception.class.to_s }
node(:parameter_name) { exception.param } if exception.respond_to? :param

Version data entries

10 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/views/api/v2/errors/param_error.json.rabl
foreman_discovery-1.0.0 test/foreman_app/app/views/api/v1/errors/param_error.json.rabl
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/api/v1/errors/param_error.json.rabl
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/api/v2/errors/param_error.json.rabl
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/api/v2/errors/param_error.json.rabl
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/api/v1/errors/param_error.json.rabl
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/api/v2/errors/param_error.json.rabl
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/api/v1/errors/param_error.json.rabl
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/api/v2/errors/param_error.json.rabl
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/api/v1/errors/param_error.json.rabl