Table of Contents

imgtoolerr_t

This is an enumeration of error codes that can be returned by imgtool drivers. It's defined in mess/tools/imgtool/imgterrs.h.

Values

  • IMGTOOLERR_SUCCESS – Should be returned when a function completes successfully.
  • IMGTOOLERR_OUTOFMEMORY
  • IMGTOOLERR_UNEXPECTED
  • IMGTOOLERR_BUFFERTOOSMALL
  • IMGTOOLERR_READERROR – General read error.
  • IMGTOOLERR_WRITEERROR – General write error.
  • IMGTOOLERR_READONLY
  • IMGTOOLERR_CORRUPTIMAGE – The image is corrupt.
  • IMGTOOLERR_CORRUPTFILE – The file is corrupt.
  • IMGTOOLERR_CORRUPTDIR – The directory is corrupt.
  • IMGTOOLERR_FILENOTFOUND – The file that was requested was not found in the image.
  • IMGTOOLERR_MODULENOTFOUND
  • IMGTOOLERR_UNIMPLEMENTED – A function is not yet implemented. For example, the write_file() function.
  • IMGTOOLERR_PARAMTOOSMALL
  • IMGTOOLERR_PARAMTOOLARGE
  • IMGTOOLERR_PARAMNEEDED
  • IMGTOOLERR_PARAMNOTNEEDED
  • IMGTOOLERR_PARAMCORRUPT
  • IMGTOOLERR_BADFILENAME – The filename is not acceptable for the image filesystem. For example, the FAT filesystem cannot handle filenames with ”:” in them.
  • IMGTOOLERR_NOSPACE – There is not enough space to complete the operation, like writing a file to the image.
  • IMGTOOLERR_INPUTPASTEND
  • IMGTOOLERR_CANNOTUSEPATH
  • IMGTOOLERR_INVALIDPATH
  • IMGTOOLERR_PATHNOTFOUND
  • IMGTOOLERR_DIRNOTEMPTY
  • IMGTOOLERR_SEEKERROR
  • IMGTOOLERR_NOFORKS
  • IMGTOOLERR_FORKNOTFOUND
  • IMGTOOLERR_INVALIDPARTITION
reference/imgtool/imgtoolerr_t.txt · Last modified: 2007/07/19 04:02 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported