Dependents:   Nucleo

Embed: (wiki syntax)

« Back to documentation index

error.h File Reference

error.h File Reference

Error codes description. More...

Go to the source code of this file.

Enumerations

enum  error_t {
  NO_ERROR = 0, ERROR_FAILURE = 1, ERROR_INVALID_PARAMETER, ERROR_PARAMETER_OUT_OF_RANGE ,
  ERROR_INVALID_RECIPIENT, ERROR_INVALID_INTERFACE, ERROR_INVALID_ENDPOINT, ERROR_INVALID_ALT_SETTING,
  ERROR_UNSUPPORTED_REQUEST, ERROR_UNSUPPORTED_CONFIGURATION, ERROR_UNSUPPORTED_FEATURE, ERROR_ENDPOINT_BUSY
}
 

Error codes.

More...

Detailed Description

Error codes description.

License

Copyright (C) 2010-2017 Oryx Embedded SARL. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

Author:
Oryx Embedded SARL (www.oryx-embedded.com)
Version:
1.7.6

Definition in file error.h.


Enumeration Type Documentation

enum error_t

Error codes.

Enumerator:
NO_ERROR 

Success.

ERROR_FAILURE 

Generic error code.

ERROR_INVALID_PARAMETER 

Invalid parameter.

ERROR_PARAMETER_OUT_OF_RANGE 

Specified parameter is out of range.

ERROR_INVALID_RECIPIENT 

Invalid recipient.

ERROR_INVALID_INTERFACE 

Invalid interface.

ERROR_INVALID_ENDPOINT 

Invalid endpoint.

ERROR_INVALID_ALT_SETTING 

Alternate setting does not exist.

ERROR_UNSUPPORTED_REQUEST 

Unsupported request.

ERROR_UNSUPPORTED_CONFIGURATION 

Unsupported configuration.

ERROR_UNSUPPORTED_FEATURE 

Unsupported feature.

ERROR_ENDPOINT_BUSY 

Endpoint already in use.

Definition at line 35 of file error.h.