Last change
on this file since 823 was 822, checked in by yakumo.izuru, 22 months ago |
Prefer immortal.run over runit and rc.d, use vendored modules
for convenience.
Signed-off-by: Izuru Yakumo <yakumo.izuru@…>
|
File size:
314 bytes
|
Line | |
---|
1 | package bare
|
---|
2 |
|
---|
3 | import (
|
---|
4 | "errors"
|
---|
5 | "fmt"
|
---|
6 | "reflect"
|
---|
7 | )
|
---|
8 |
|
---|
9 | var ErrInvalidStr = errors.New("String contains invalid UTF-8 sequences")
|
---|
10 |
|
---|
11 | type UnsupportedTypeError struct {
|
---|
12 | Type reflect.Type
|
---|
13 | }
|
---|
14 |
|
---|
15 | func (e *UnsupportedTypeError) Error() string {
|
---|
16 | return fmt.Sprintf("Unsupported type for marshaling: %s\n", e.Type.String())
|
---|
17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.