forked from TrueCloudLab/rclone
26 lines
387 B
Go
26 lines
387 B
Go
package csm
|
|
|
|
type metricException interface {
|
|
Exception() string
|
|
Message() string
|
|
}
|
|
|
|
type requestException struct {
|
|
exception string
|
|
message string
|
|
}
|
|
|
|
func (e requestException) Exception() string {
|
|
return e.exception
|
|
}
|
|
func (e requestException) Message() string {
|
|
return e.message
|
|
}
|
|
|
|
type awsException struct {
|
|
requestException
|
|
}
|
|
|
|
type sdkException struct {
|
|
requestException
|
|
}
|