(version uint, expected uint)
| 60 | } |
| 61 | |
| 62 | func NewErrInvalidFormat(version uint, expected uint) *ErrInvalidFormat { |
| 63 | return &ErrInvalidFormat{ |
| 64 | version: version, |
| 65 | expected: expected, |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | func NewErrUnknownFormat(expected uint) *ErrInvalidFormat { |
| 70 | return &ErrInvalidFormat{ |
no outgoing calls
no test coverage detected