Sha256: 448a1989ad62928ff0e4ecd92a65a6fccbf647f534fc98d39de06c3921b423ac

Contents?: true

Size: 203 Bytes

Versions: 4

Compression:

Stored size: 203 Bytes

Contents

# frozen_string_literal: true

json.error do
  json.code @code

  if @code < 500 && @exception.present?
    json.message @exception.message
  else
    json.message wt("json_errors.#{@symbol}")
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wallaby-8.0.0 app/views/wallaby/resources/error.json.jbuilder
wallaby-7.0.0 app/views/wallaby/resources/error.json.jbuilder
wallaby-7.0.0.beta2 app/views/wallaby/resources/error.json.jbuilder
wallaby-7.0.0.beta1 app/views/wallaby/resources/error.json.jbuilder