tape: Safely cast when dynamically encoding/decoding
This commit is contained in:
@@ -2,7 +2,8 @@ package tape
|
||||
|
||||
// Error enumerates common errors in this package.
|
||||
type Error string; const (
|
||||
ErrTooLong Error = "data structure too long"
|
||||
ErrTooLong Error = "data structure too long"
|
||||
ErrTooLarge Error = "number too large"
|
||||
)
|
||||
|
||||
// Error implements the error interface.
|
||||
|
||||
Reference in New Issue
Block a user