Commit b0f37f22 authored by Kamil Kisiel's avatar Kamil Kisiel

Unexport ErrNoMarker.

parent 39ea1352
...@@ -80,7 +80,7 @@ const ( ...@@ -80,7 +80,7 @@ const (
var errNotImplemented = errors.New("unimplemented opcode") var errNotImplemented = errors.New("unimplemented opcode")
var ErrInvalidPickleVersion = errors.New("invalid pickle version") var ErrInvalidPickleVersion = errors.New("invalid pickle version")
var ErrNoMarker = errors.New("no marker in stack") var errNoMarker = errors.New("no marker in stack")
type OpcodeError struct { type OpcodeError struct {
Key byte Key byte
...@@ -252,7 +252,7 @@ func (d *Decoder) marker() (int, error) { ...@@ -252,7 +252,7 @@ func (d *Decoder) marker() (int, error) {
if k >= 0 { if k >= 0 {
return k, nil return k, nil
} }
return 0, ErrNoMarker return 0, errNoMarker
} }
// Append a new value // Append a new value
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment