Exception: AwsS3Export::Error
- Inherits:
-
StandardError
- Object
- StandardError
- AwsS3Export::Error
- 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