Exception: Aliyun::OSS::ExceptionClassClash

Inherits:
OSSException show all
Defined in:
lib/aliyun/oss/exceptions.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(klass) ⇒ ExceptionClassClash

Returns a new instance of ExceptionClassClash.



126
127
128
129
# File 'lib/aliyun/oss/exceptions.rb', line 126

def initialize(klass)
  message = "The exception class you tried to create (`#{klass}') exists and is not an exception"
  super(message)
end