Sha256: 6eeb2580191a5cd5e7c06e3834dd8aea781ce2bc8921fda0ff9451365fbda13a
Contents?: true
Size: 474 Bytes
Versions: 2
Compression:
Stored size: 474 Bytes
Contents
module PaperclipPrivate module Errors # Wil be thrown if params validation fails in private controller. class ControllerValidationError < ::Paperclip::Error end # Will be thrown if file does not exist on server. class FileDoesNotExistError < ::Paperclip::Error end # Will be thrown if true is not returned from an attachment's owner's # can_download_attachment? method. class AccessDeniedError < ::Paperclip::Error end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
paperclip_private-0.0.3 | lib/paperclip_private/errors.rb |
paperclip_private-0.0.2 | lib/paperclip_private/errors.rb |