good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
upper
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
open
upper
Commits
0e01268a
Commit
0e01268a
authored
May 6, 2014
by
José Carlos Nieto
Browse files
Options
Downloads
Patches
Plain Diff
Errors wording.
parent
bfdf5101
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
error.go
+5
-5
5 additions, 5 deletions
error.go
with
5 additions
and
5 deletions
error.go
+
5
−
5
View file @
0e01268a
...
@@ -29,15 +29,15 @@ import (
...
@@ -29,15 +29,15 @@ import (
// Application error messages.
// Application error messages.
var
(
var
(
ErrExpectingPointer
=
errors
.
New
(
`
Expecting a pointer destination (dst interface{})
.`
)
ErrExpectingPointer
=
errors
.
New
(
`
Argument must be an address
.`
)
ErrExpectingSlicePointer
=
errors
.
New
(
`
Expecting a pointer to
a
n
slice
(dst interface{})
.`
)
ErrExpectingSlicePointer
=
errors
.
New
(
`
Argument must be
a slice
address
.`
)
ErrExpectingSliceMapStruct
=
errors
.
New
(
`
Expecting a pointer to
a
n
slice of maps or structs
(dst interface{})
.`
)
ErrExpectingSliceMapStruct
=
errors
.
New
(
`
Argument must be
a slice
address
of maps or structs.`
)
ErrExpectingMapOrStruct
=
errors
.
New
(
`
Expecting either a pointer to a map or a pointer to a struct
.`
)
ErrExpectingMapOrStruct
=
errors
.
New
(
`
Argument must be a map or struct address
.`
)
ErrNoMoreRows
=
errors
.
New
(
`There are no more rows in this result set.`
)
ErrNoMoreRows
=
errors
.
New
(
`There are no more rows in this result set.`
)
ErrNotConnected
=
errors
.
New
(
`You're currently not connected.`
)
ErrNotConnected
=
errors
.
New
(
`You're currently not connected.`
)
ErrMissingDatabaseName
=
errors
.
New
(
`Missing database name.`
)
ErrMissingDatabaseName
=
errors
.
New
(
`Missing database name.`
)
ErrCollectionDoesNotExists
=
errors
.
New
(
`Collection does not exists.`
)
ErrCollectionDoesNotExists
=
errors
.
New
(
`Collection does not exists.`
)
ErrSockerOrHost
=
errors
.
New
(
`You
can
connect either to a socket or a
host
but not both.`
)
ErrSockerOrHost
=
errors
.
New
(
`You
may
connect either to a
unix
socket or a
tcp address,
but not both.`
)
ErrQueryLimitParam
=
errors
.
New
(
`A query can accept only one db.Limit() parameter.`
)
ErrQueryLimitParam
=
errors
.
New
(
`A query can accept only one db.Limit() parameter.`
)
ErrQuerySortParam
=
errors
.
New
(
`A query can accept only one db.Sort{} parameter.`
)
ErrQuerySortParam
=
errors
.
New
(
`A query can accept only one db.Sort{} parameter.`
)
ErrQueryOffsetParam
=
errors
.
New
(
`A query can accept only one db.Offset() parameter.`
)
ErrQueryOffsetParam
=
errors
.
New
(
`A query can accept only one db.Offset() parameter.`
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment