github.com/aavshr/aws-sdk-go@v1.41.3/aws/csm/metric_exception.go (about) 1 package csm 2 3 type metricException interface { 4 Exception() string 5 Message() string 6 } 7 8 type requestException struct { 9 exception string 10 message string 11 } 12 13 func (e requestException) Exception() string { 14 return e.exception 15 } 16 func (e requestException) Message() string { 17 return e.message 18 } 19 20 type awsException struct { 21 requestException 22 } 23 24 type sdkException struct { 25 requestException 26 }