Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace specific bucket errors with generic ones
- Loading branch information
Showing
5 changed files
with
17 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
package stdlib | ||
|
||
const ( | ||
ErrorBucket = "<BUCKET-ERROR>" // Unable to bucket from given value (wrong type) | ||
ErrorBucketSize = "<BUCKET-SIZE>" // Unable to get the size of the bucket (wrong type) | ||
ErrorType = "<BAD-TYPE>" // Error parsing the principle value of the input because of unexpected type | ||
ErrorParsing = "<PARSE-ERROR>" // Error parsing the principle value of the input | ||
ErrorArgCount = "<ARGN>" // Function to not support a variation with the given argument count | ||
ErrorArgName = "<NAME>" // A variable accessed by a given name does not exist | ||
ErrorType = "<BAD-TYPE>" // Error parsing the principle value of the input because of unexpected type | ||
ErrorParsing = "<PARSE-ERROR>" // Error parsing the principle value of the input (non-numeric) | ||
ErrorArgCount = "<ARGN>" // Function to not support a variation with the given argument count | ||
ErrorConst = "<CONST>" // Expected constant value | ||
ErrorEnum = "<ENUM>" // A given value is not contained within a set | ||
ErrorArgName = "<NAME>" // A variable accessed by a given name does not exist | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters