You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
387 B
27 lines
387 B
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
|
|
}
|