Sha256: e5c92d6a98263437e5741f01afc7ba24f831764b287d28e08d4d7e0333f8bafd

Contents?: true

Size: 555 Bytes

Versions: 1

Compression:

Stored size: 555 Bytes

Contents

module Eddy
  # Exceptions raised by Eddy inherit from Error.
  # @abstract
  class Error < StandardError; end

  # Exception raised when an invalid argument is passed to the `value=` method of an {Element} class.
  class ElementValidationError < Error; end

  # Exception raised when `value` has been called before `value=` and no default value is set.
  class ElementNilValueError < Error; end

  # Exception raised when a class inherits from {Element} and doesn't set all instance attributes properly.
  class ElementNilAttributeError < Error; end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
eddy-0.1.0 lib/eddy/error.rb