Files
PX4-Autopilot/dsdl/uavcan/protocol/file/Error.uavcan
T
Pavel Kirienko 2337a5d547 File IO services
2014-06-15 21:10:36 +04:00

19 lines
479 B
Plaintext

#
# Nested type.
# File operation result code.
#
int16 OK = 0
int16 UNKNOWN_ERROR = 32767
# These error codes match some standard UNIX errno values
int16 NOT_FOUND = 2
int16 IO_ERROR = 5
int16 ACCESS_DENIED = 13
int16 IS_DIRECTORY = 21 # I.e. attempt to read/write on a path that points to a directory
int16 INVALID_VALUE = 22 # E.g. file name is not valid for the target file system
int16 FILE_TOO_LARGE = 27
int16 OUT_OF_SPACE = 28
int16 value