-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherrors.go
More file actions
24 lines (17 loc) · 817 Bytes
/
errors.go
File metadata and controls
24 lines (17 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// SPDX-License-Identifier: MIT
// Copyright (c) 2026 WoozyMasta
// Source: github.com/woozymasta/rap
package rap
import "errors"
var (
// ErrNotImplemented indicates codec path is declared but not implemented yet.
ErrNotImplemented = errors.New("not implemented")
// ErrInvalidRAP indicates malformed or unsupported RAP binary structure.
ErrInvalidRAP = errors.New("invalid rap binary")
// ErrUnsupportedScalar indicates scalar cannot be represented by v0 RAP scalar subtypes.
ErrUnsupportedScalar = errors.New("unsupported scalar")
// ErrReadRAPFile indicates failure while reading RAP payload from file path.
ErrReadRAPFile = errors.New("read rap file failed")
// ErrParseSource indicates failure while parsing source text before RAP encoding.
ErrParseSource = errors.New("parse source failed")
)