sisoIoFileErrorCodes.h File Reference

sisoIoFileErrorCodes.h File Reference

Header file for all File Error codes. More...

Go to the source code of this file.

Enumerations

enum  FILE_IO_ERRORS {
  ERR_FIO_NO_ERROR = 0 , ERR_FIO_UNDEFINED = -1000001 , ERR_FIO_OPEN_FILE = -1000002 , ERR_FIO_WRITE_FILE = -1000003 ,
  ERR_FIO_READ_FILE = -1000006 , ERR_FIO_FORMAT_UNKNOWN = -1000007 , ERR_FIO_NO_DATA_TO_SAVE = -1000008 , ERR_FIO_FILE_DOES_NOT_EXIST = -1000009 ,
  ERR_FIO_HANDLE_IS_NULL = -1000010 , ERR_FIO_CODE_UNTOUCHED = -1000011 , ERR_FIO_NO_DATA_TO_READ = -1000012 , ERR_FIO_CLOSE_HANDLE = -1000013 ,
  ERR_FIO_IMAGE_BITS_ARE_BIGGER_THAN_16 = -1000014 , ERR_FIO_TARGET_BITWIDTH_IS_DIFFERENT = -1000015 , ERR_FIO_TARGET_COMPONENT_COUNT_IS_DIFFERENT = -1000016 , ERR_FIO_CANNOT_LOAD_RGB24_ON_RGB48_LINK = -1000017 ,
  ERR_FIO_INVALID_FILENAME = -1000018 , ERR_FIO_UNSUPPORTED_FORMAT = -1000019
}
 

Detailed Description

Header file for all File Error codes.

sisoIoFileErrorCodes.h

Copyright (c) 2021 Basler AG, All Rights Reserved.

Author
Basler AG

Enumeration Type Documentation

◆ FILE_IO_ERRORS

Enumerator
ERR_FIO_NO_ERROR 

Reading file successfull

ERR_FIO_UNDEFINED 

other error, whichis not listed below

ERR_FIO_OPEN_FILE 
ERR_FIO_WRITE_FILE 
ERR_FIO_READ_FILE 
ERR_FIO_FORMAT_UNKNOWN 
ERR_FIO_NO_DATA_TO_SAVE 
ERR_FIO_FILE_DOES_NOT_EXIST 

file not found

ERR_FIO_HANDLE_IS_NULL 
ERR_FIO_CODE_UNTOUCHED 
ERR_FIO_NO_DATA_TO_READ 
ERR_FIO_CLOSE_HANDLE 
ERR_FIO_IMAGE_BITS_ARE_BIGGER_THAN_16 
ERR_FIO_TARGET_BITWIDTH_IS_DIFFERENT 
ERR_FIO_TARGET_COMPONENT_COUNT_IS_DIFFERENT 
ERR_FIO_CANNOT_LOAD_RGB24_ON_RGB48_LINK 
ERR_FIO_INVALID_FILENAME 

function is called by using an invalid filename

ERR_FIO_UNSUPPORTED_FORMAT 

image format not supported for given file type