mirror of
https://github.com/portainer/portainer.git
synced 2025-07-26 00:39:41 +02:00
15 lines
249 B
Go
15 lines
249 B
Go
package edgestacks
|
|
|
|
type InvalidPayloadError struct {
|
|
msg string
|
|
}
|
|
|
|
func (e *InvalidPayloadError) Error() string {
|
|
return e.msg
|
|
}
|
|
|
|
func NewInvalidPayloadError(errMsg string) *InvalidPayloadError {
|
|
return &InvalidPayloadError{
|
|
msg: errMsg,
|
|
}
|
|
}
|