mirror of
https://github.com/onyx-and-iris/vbantxt.git
synced 2024-11-24 02:40:49 +00:00
10 lines
173 B
Go
10 lines
173 B
Go
|
package vbantxt
|
||
|
|
||
|
// Error is used to define sentinel errors.
|
||
|
type Error string
|
||
|
|
||
|
// Error implements the error interface.
|
||
|
func (r Error) Error() string {
|
||
|
return string(r)
|
||
|
}
|