26 lines
344 B
Go
26 lines
344 B
Go
// SPDX-License-Identifier: Apache-2.0
|
|
// (c) 2024, Konstantin Demin
|
|
|
|
package main
|
|
|
|
type ErrEmpty struct {
|
|
}
|
|
|
|
func (e *ErrEmpty) Error() string {
|
|
return "empty"
|
|
}
|
|
|
|
type ErrMalformed struct {
|
|
}
|
|
|
|
func (e *ErrMalformed) Error() string {
|
|
return "malformed"
|
|
}
|
|
|
|
type ErrMissing struct {
|
|
}
|
|
|
|
func (e *ErrMissing) Error() string {
|
|
return "missing"
|
|
}
|