Everything Example
Dependencies: EthernetInterface mbed-rtos mbed
Fork of TCPEthernet by
Diff: evry_error.h
- Revision:
- 9:b08a28f659eb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/evry_error.h Tue Jan 24 22:17:00 2017 +0000 @@ -0,0 +1,25 @@ +/* + * (c) Copyright 2012 EVRYTHNG Ltd London / Zurich + * www.evrythng.com + * + * --- DISCLAIMER --- + * + * EVRYTHNG provides this source code "as is" and without warranty of any kind, + * and hereby disclaims all express or implied warranties, including without + * limitation warranties of merchantability, fitness for a particular purpose, + * performance, accuracy, reliability, and non-infringement. + * + * Author: Michel Yerly + * + */ +#ifndef EVRY_ERROR_H +#define EVRY_ERROR_H + +#define EVRY_ERR_OK 0 +#define EVRY_ERR_UNKNOWN 1 +#define EVRY_ERR_CANTCONNECT 2 +#define EVRY_ERR_CANTSEND 3 +#define EVRY_ERR_UNSUPPORTED 4 +#define EVRY_ERR_UNEXPECTEDHTTPSTATUS 5 + +#endif \ No newline at end of file