frostfs-node/internal/error.go

8 lines
166 B
Go
Raw Permalink Normal View History

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) }