Exception: Serega::AttributeNotExist

Inherits:
SeregaError
  • Object
show all
Defined in:
lib/serega/errors.rb

Overview

Raised when serializer is initiated using not existing attribute

Examples:

Serega.new(only: 'FOO')
# => Attribute 'FOO' not exists (Serega::AttributeNotExist)