frostfs-api-go/internal/error.go

10 lines
166 B
Go
Raw Normal View History

package internal
// Error is constant type error.
type Error string
// Error implementation of error interface.
func (e Error) Error() string {
return string(e)
}