frostfs-api-go/internal/error.go
Evgeniy Kulikov 28260eb2ff [] Add constant error type
closes 

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-10-15 11:05:37 +03:00

9 lines
166 B
Go

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