diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2025-10-05 18:00:06 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2025-10-05 18:00:06 -0700 |
| commit | d89b325294201d95498ae9d08f102e12ac2f2876 (patch) | |
| tree | ffe65e33d0d01e811a5323d5e40c47564ccb8f2d /internal/api/errorcode_string.go | |
| parent | 624985afaaa8b94e4d9685bcdc935d467f9e7060 (diff) | |
| download | roseh.moe-d89b325294201d95498ae9d08f102e12ac2f2876.tar.zst | |
Implement a "magic wormhole" file-sharing solution
Diffstat (limited to 'internal/api/errorcode_string.go')
| -rw-r--r-- | internal/api/errorcode_string.go | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/internal/api/errorcode_string.go b/internal/api/errorcode_string.go deleted file mode 100644 index 5ff2ff0..0000000 --- a/internal/api/errorcode_string.go +++ /dev/null @@ -1,29 +0,0 @@ -// Code generated by "stringer -type=ErrorCode"; DO NOT EDIT. - -package api - -import "strconv" - -func _() { - // An "invalid array index" compiler error signifies that the constant values have changed. - // Re-run the stringer command to generate them again. - var x [1]struct{} - _ = x[Ok-0] - _ = x[Unauthenticated-1] - _ = x[PermissionDenied-2] - _ = x[BadRequest-3] - _ = x[InvalidArgument-4] - _ = x[NotFound-5] - _ = x[Internal-6] -} - -const _ErrorCode_name = "OkUnauthenticatedPermissionDeniedBadRequestInvalidArgumentNotFoundInternal" - -var _ErrorCode_index = [...]uint8{0, 2, 17, 33, 43, 58, 66, 74} - -func (i ErrorCode) String() string { - if i < 0 || i >= ErrorCode(len(_ErrorCode_index)-1) { - return "ErrorCode(" + strconv.FormatInt(int64(i), 10) + ")" - } - return _ErrorCode_name[_ErrorCode_index[i]:_ErrorCode_index[i+1]] -} |
