Sha256: dc16938045da384ec430e9cdf997c8f257247b0949e115a27a0a1d7eb97bfc56
Contents?: true
Size: 1.03 KB
Versions: 14
Compression:
Stored size: 1.03 KB
Contents
module ActionLogic # Thrown whenever an ActionTask, ActionUseCase or ActionCoordinator's context does not have a key defined for the attribute key in a validations block class MissingAttributeError < StandardError; end # Thrown whenever an ActionTask, ActionUseCase or ActionCoordinator's context has an attribute and value but the value's type is not the same as that # attributey's type specified in a validations block class AttributeTypeError < StandardError; end # Thrown whenever an ActionTask, ActionUseCase or ActionCoordinator's context has an attribute and value but the value definition of presence is not satisfied # for the value stored on the context class PresenceError < StandardError; end # Adding a custom presence definition is possible, but the presence validation will throw an error if the custom presence definition is not a Proc class UnrecognizablePresenceValidatorError < StandardError; end # ActionUseCases are invalid if they do not define any tasks class InvalidUseCaseError < StandardError; end end
Version data entries
14 entries across 14 versions & 1 rubygems