mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00

This allows an ErrorResponse to be used directly as an error type. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
6 lines
110 B
Go
6 lines
110 B
Go
package types
|
|
|
|
// Error returns the error message
|
|
func (e ErrorResponse) Error() string {
|
|
return e.Message
|
|
}
|