class ViewModel::Error

each error data field.
Implementation of ViewModel::AbstractError with constructor parameters for

def initialize(status: 400, detail: 'ViewModel Error', title: nil, code: nil, meta: {})

def initialize(status: 400, detail: 'ViewModel Error', title: nil, code: nil, meta: {})
  @detail = detail
  @status = status
  @title  = title
  @code   = code
  @meta   = meta
  super()
end