frostfs-api-go/internal/error.go

8 lines
166 B
Go
Raw Normal View History

2019-11-18 13:34:06 +00:00
package internal
// Error is a custom error.
type Error string
// Error is an implementation of error interface.
func (e Error) Error() string { return string(e) }