palauth-iam-go/errors.go
2023-10-21 12:02:42 +01:00

12 lines
174 B
Go

package palauthiam
import "fmt"
type IAMError struct {
ServerMessage string
}
func (r *IAMError) Error() string {
return fmt.Sprintf("iam error: %s", r.ServerMessage)
}