forked from TrueCloudLab/frostfs-api-go
[#199] sdk: Refactor string parse errors
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
fe336fd5ba
commit
79f72e10c9
9 changed files with 15 additions and 35 deletions
|
@ -1,9 +0,0 @@
|
|||
package internal
|
||||
|
||||
// Error is constant type error.
|
||||
type Error string
|
||||
|
||||
// Error implementation of error interface.
|
||||
func (e Error) Error() string {
|
||||
return string(e)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue