-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into dependabot/npm_and_yarn/playground/typesc…
…ript-eslint/parser-6.8.0
- Loading branch information
Showing
10 changed files
with
287 additions
and
309 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
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Copyright 2023 Democratized Data Foundation | ||
// | ||
// Use of this software is governed by the Business Source License | ||
// included in the file licenses/BSL.txt. | ||
// | ||
// As of the Change Date specified in that file, in accordance with | ||
// the Business Source License, use of this software will be governed | ||
// by the Apache License, Version 2.0, included in the file | ||
// licenses/APL.txt. | ||
|
||
package description | ||
|
||
import "github.com/sourcenetwork/defradb/errors" | ||
|
||
const ( | ||
errFailedToCreateSchemaQuery string = "failed to create schema prefix query" | ||
errFailedToCloseSchemaQuery string = "failed to close schema prefix query" | ||
) | ||
|
||
// NewErrFailedToCreateSchemaQuery returns a new error indicating that the query | ||
// to create a schema failed. | ||
func NewErrFailedToCreateSchemaQuery(inner error) error { | ||
return errors.Wrap(errFailedToCreateSchemaQuery, inner) | ||
} | ||
|
||
// NewErrFailedToCreateSchemaQuery returns a new error indicating that the query | ||
// to create a schema failed to close. | ||
func NewErrFailedToCloseSchemaQuery(inner error) error { | ||
return errors.Wrap(errFailedToCloseSchemaQuery, inner) | ||
} |
Oops, something went wrong.