mirror of
https://github.com/smallstep/certificates.git
synced 2024-10-31 03:20:16 +00:00
13 lines
222 B
Go
13 lines
222 B
Go
package scep
|
|
|
|
// Error is an SCEP error type
|
|
type Error struct {
|
|
Message string `json:"message"`
|
|
Status int `json:"-"`
|
|
}
|
|
|
|
// Error implements the error interface.
|
|
func (e *Error) Error() string {
|
|
return e.Message
|
|
}
|