Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
libcdi
Commits
5365eb1c
Commit
5365eb1c
authored
3 years ago
by
Sven Willner
Browse files
Options
Downloads
Patches
Plain Diff
Add error output for EINVAL
parent
f5b2d279
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!12
Connection to ACROSS data framework
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/cdi_error.c
+2
-0
2 additions, 0 deletions
src/cdi_error.c
with
2 additions
and
0 deletions
src/cdi_error.c
+
2
−
0
View file @
5365eb1c
...
...
@@ -15,6 +15,7 @@ const char *cdiStringError(int cdiErrno)
static
const
char
_EUNC4
[]
=
"Unsupported NetCDF4 structure"
;
static
const
char
_EDIMSIZE
[]
=
"Invalid dimension size"
;
static
const
char
_ELIMIT
[]
=
"Internal limits exceeded"
;
static
const
char
_EINVAL
[]
=
"Invalid argument"
;
switch
(
cdiErrno
)
{
case
CDI_ESYSTEM
:
...
...
@@ -32,6 +33,7 @@ const char *cdiStringError(int cdiErrno)
case
CDI_EUNC4
:
return
_EUNC4
;
case
CDI_EDIMSIZE
:
return
_EDIMSIZE
;
case
CDI_ELIMIT
:
return
_ELIMIT
;
case
CDI_EINVAL
:
return
_EINVAL
;
}
return
UnknownError
;
...
...
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