Enum eccodes::errors::CodesInternal [−][src]
pub enum CodesInternal {
Show 68 variants
CodesSuccess,
CodesEndOfFile,
CodesInternalError,
CodesBufferTooSmall,
CodesNotImplemented,
Codes7777NotFound,
CodesArrayTooSmall,
CodesFileNotFound,
CodesCodeNotFoundInTable,
CodesWrongArraySize,
CodesNotFound,
CodesIoProblem,
CodesInvalidMessage,
CodesDecodingError,
CodesEncodingError,
CodesNoMoreInSet,
CodesGeocalculusProblem,
CodesOutOfMemory,
CodesReadOnly,
CodesInvalidArgument,
CodesNullHandle,
CodesInvalidSectionNumber,
CodesValueCannotBeMissing,
CodesWrongLength,
CodesInvalidType,
CodesWrongStep,
CodesWrongStepUnit,
CodesInvalidFile,
CodesInvalidGrib,
CodesInvalidIndex,
CodesInvalidIterator,
CodesInvalidKeysIterator,
CodesInvalidNearest,
CodesInvalidOrderby,
CodesMissingKey,
CodesOutOfArea,
CodesConceptNoMatch,
CodesHashArrayNoMatch,
CodesNoDefinitions,
CodesWrongType,
CodesEnd,
CodesNoValues,
CodesWrongGrid,
CodesEndOfIndex,
CodesNullIndex,
CodesPrematureEndOfFile,
CodesInternalArrayTooSmall,
CodesMessageTooLarge,
CodesConstantField,
CodesSwitchNoMatch,
CodesUnderflow,
CodesMessageMalformed,
CodesCorruptedIndex,
CodesInvalidBpv,
CodesDifferentEdition,
CodesValueDifferent,
CodesInvalidKeyValue,
CodesStringTooSmall,
CodesWrongConversion,
CodesMissingBufrEntry,
CodesNullPointer,
CodesAttributeClash,
CodesTooManyAttributes,
CodesAttributeNotFound,
CodesUnsupportedEdition,
CodesOutOfRange,
CodesWrongBitmapSize,
CodesFunctionalityNotEnabled,
}
Expand description
Errors returned by internal ecCodes library functions. Copied directly from the ecCodes API.
Variants
No error
End of resource reached
Internal error
Passed buffer is too small
Function not yet implemented
Missing 7777 at end of message
Passed array is too small
File not found
Code not found in code table
Array size mismatch
Key/value not found
Input output problem
Message invalid
Decoding invalid
Encoding invalid
Code cannot unpack because of string too small
Problem with calculation of geographic attributes
Memory allocation error
Value is read only
Invalid argument
Null handle
Invalid section number
Value cannot be missing
Wrong message length
Invalid key type
Unable to set step
Wrong units for step (step must be integer)
Invalid file id
Invalid grib id
Invalid index id
Invalid iterator id
Invalid keys iterator id
Invalid nearest id
Invalid order by
Missing a key from the fieldset
The point is out of the grid area
Concept no match
Hash array no match
Definitions files not found
Wrong type while packing
End of resource
Unable to code a field without values
Grid description is wrong or inconsistent
End of index reached
Null index
End of resource reached when reading message
An internal array is too small
Message is too large for the current architecture
Constant field
Switch unable to find a matching case
Underflow
Message malformed
Index is corrupted
Invalid number of bits per value
Edition of two messages is different
Value is different
Invalid key value
String is smaller than requested
Wrong type conversion
Missing BUFR table entry for descriptor
Null pointer
Attribute is already present = cannot add
Too many attributes. Increase MAX_ACCESSOR_ATTRIBUTES
Attribute not found
Edition not supported
Value out of coding range
Size of bitmap is incorrect
Functionality not enabled
Trait Implementations
Performs the conversion.
Converts an i64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u64
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an isize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an i128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts a usize
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u8
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u16
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts an u128
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
Converts a f32
to return an optional value of this type. If the
value cannot be represented by this type, then None
is returned. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for CodesInternal
impl Send for CodesInternal
impl Sync for CodesInternal
impl Unpin for CodesInternal
impl UnwindSafe for CodesInternal
Blanket Implementations
Mutably borrows from an owned value. Read more