Exception: AwsS3Export::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/aws_s3_export/error.rb

Overview

Example:

def do_some
   if no_params?
     raise NoParams
   end
end

If you need to set custom errors you do this
class CustomError < Error
   def initialize
     super("Your text gois here")
   end
end

Direct Known Subclasses

NoParams, NotDir