-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve and export errors in packages (#8)
* Improve and export errors * Update lib/go/csvframer/CHANGELOG.md Co-authored-by: Tim Mulqueen <[email protected]> * Update lib/go/framesql/CHANGELOG.md Co-authored-by: Tim Mulqueen <[email protected]> * Update lib/go/transformations/CHANGELOG.md Co-authored-by: Tim Mulqueen <[email protected]> * Bump versions in package.json --------- Co-authored-by: Tim Mulqueen <[email protected]>
- Loading branch information
1 parent
c9bd79b
commit 8657a8c
Showing
16 changed files
with
56 additions
and
20 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
# @grafana/infinity-csvframer | ||
|
||
## 1.0.1 | ||
|
||
- ⚙️ **Chore**: improved error messages | ||
|
||
## 1.0.0 | ||
|
||
- chore release | ||
|
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package csvframer | ||
|
||
import "errors" | ||
|
||
var ( | ||
ErrEmptyCsv = errors.New("empty/invalid csv") | ||
ErrReadingCsvResponse = errors.New("error reading csv response") | ||
) |
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
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,5 +1,9 @@ | ||
# @grafana/infinity-framesql | ||
|
||
## 1.0.1 | ||
|
||
- ⚙️ **Chore**: improved error messages | ||
|
||
## 1.0.0 | ||
|
||
- chore release | ||
|
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package framesql | ||
|
||
import "errors" | ||
|
||
var ( | ||
ErrEmptySummarizeExpression = errors.New("empty/invalid summarize expression") | ||
) |
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
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,5 +1,9 @@ | ||
# @grafana/infinity-transformations | ||
|
||
## 1.0.1 | ||
|
||
- ⚙️ **Chore**: improved error messages | ||
|
||
## 1.0.0 | ||
|
||
- chore release | ||
|
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package transformations | ||
|
||
import "errors" | ||
|
||
var ( | ||
ErrSummarizeByFieldNotFound = errors.New("summarize by field not found. Not applying summarize") | ||
ErrNotUniqueFieldNames = errors.New("field names are not unique. Not applying filter") | ||
ErrEvaluatingFilterExpression = errors.New("error evaluating filter expression") | ||
|
||
ErrMergeTransformationNoFrameSupplied = errors.New("no frames supplied for merge frame transformation") | ||
ErrMergeTransformationDifferentFields = errors.New("unable to merge fields due to different fields") | ||
ErrMergeTransformationDifferentFieldNames = errors.New("unable to merge field due to different field names") | ||
ErrMergeTransformationDifferentFieldTypes = errors.New("unable to merge fields due to different field types") | ||
) |
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
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