Sha256: 4173a2834f6c9939434b17f61e23695ff5bbdc128d03ab793741519e2a2683e1

Contents?: true

Size: 659 Bytes

Versions: 5

Compression:

Stored size: 659 Bytes

Contents

module Protoable

  # = Protoable errors
  #
  # Generic Protoable exception class
  class ProtoableError < StandardError
  end

  # Raised by Protoable.protobuf_column_convert when the convert method
  # given is not defined, nil, or not callable.
  class ColumnConverterError < ProtoableError
  end

  # Raised by Protoable.protobuf_column_transform when the transformer method
  # given is not defined, nil, or not callable.
  class ColumnTransformerError < ProtoableError
  end
  
  # Raised by Protoable.protobuf_field_convert when the convert method
  # given is not defined, nil, or not callable.
  class FieldConverterError < ProtoableError
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
protobuf-activerecord-1.0.5 lib/protoable/errors.rb
protobuf-activerecord-1.0.4 lib/protoable/errors.rb
protobuf-activerecord-1.0.3 lib/protoable/errors.rb
protobuf-activerecord-1.0.2 lib/protoable/errors.rb
protobuf-activerecord-1.0.1 lib/protoable/errors.rb