Clapkit
Loading...
Searching...
No Matches
ckErrors.h
Go to the documentation of this file.
1/*
2 *
3 * Clapkit
4 * ----------------------------------------------------------------------
5 * A wrapper for creating a 'generalized' app for Classic MacOS
6 * that (hopefully) can be ported easily to other platforms.
7 *
8 * CKErrors
9 * ----------------------------------------------------------------------
10 * A list of CK-defined Error Codes.
11 * Note that all CK error codes are > 1.
12 * If we HAVE to return a platform-specific code, you have to make sure it's
13 * negative.
14 *
15 */
16
17#pragma once
18#include "ckTypes.h"
19
27
28 // ------------------------------------------------------------
29 // General Error Codes
30 // ------------------------------------------------------------
31
36
41
46
51
56
61
66
67 // ------------------------------------------------------------
68 // Networking Error Codes
69 // ------------------------------------------------------------
73};
CKErrorCode
CK-Framework Specific Error Codes.
Definition ckErrors.h:26
int32_t CKError
Return type for functions that might return an error. Also see: CKPass and CKErrorCode.
Definition ckTypes.h:26
@ CKError_TCPNotConnected
Definition ckErrors.h:71
@ CKError_DriverNotAvailable
Requested driver is not installed/available.
Definition ckErrors.h:60
@ CKError_TCPUnreachable
Definition ckErrors.h:72
@ CKError_NotFound
File/URL/Control/Command specified could not be found.
Definition ckErrors.h:50
@ CKError_OutOfMemory
Ran out of memory before completion.
Definition ckErrors.h:35
@ CKError_AlreadyOpen
File/URL/Control/Command specified is already open and can't be re-opened.
Definition ckErrors.h:55
@ CKError_TCPConnectionFailed
Definition ckErrors.h:70
@ CKError_DriverActionFailed
Requested driver failed to complete task.
Definition ckErrors.h:65
@ CKError_UserCancelled
User pressed CMD + [.] to stop the operation.
Definition ckErrors.h:45
@ CKError_InvalidParameters
One or more parameters supplied are not correct. Check logs.
Definition ckErrors.h:40