acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
exception.h
1#pragma once
2
3
4
5#define CALLSTACK_DEFAULT_SKIP_TRIGGER (-2)
6
7#define SKIP_CALLSTACK (-1)
8
9
10#if defined(APPLE)
11
12#define CALLSTACK_DEFAULT_SKIP 3
13
14#elif defined(__ANDROID__)
15
16#define CALLSTACK_DEFAULT_SKIP 4
17
18#else
19
20#define CALLSTACK_DEFAULT_SKIP 3
21
22#endif
23
24
25//
26//enum enum_exception
27//{
28//
29// e_exception_out_of_bounds,
30// e_exception_interface_only,
31// e_exception_invalid_argument,
32// e_exception_invalid_character,
33// e_exception_invalid_handle,
34// e_exception_invalid_index,
35// e_exception_invalid_type,
36// e_exception_not_implemented,
37// e_exception_not_installed,
38// e_exception_not_licensed,
39// e_exception_not_supported,
40// e_exception_memory,
41// e_exception_operation_cancelled,
42// e_exception_overflow,
43// e_exception_parsing,
44// e_exception_range,
45// e_exception_resource,
46// e_exception_runtime,
47// e_exception_temporary,
48// e_exception_todo,
49// e_exception_void_implementation,
50// e_exception_user,
51// e_exception_system,
52// e_exception_os,
53// e_exception_io,
54// e_exception_installing,
55//
56//};