acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
error_number.h
1// Created by camilo on 2022-11-09 04:41 <3ThomasBorregaardSorensen!!
2#pragma once
3
4
5#include "exception.h"
6
7
8class CLASS_DECL_ACME error_number :
9 public ::exception
10{
11public:
12
13
14 ::i32 m_iErrNo;
15
16
17#ifdef __ANDROID__
18 error_number(::e_status estatus, ::i32 iError, const ::scoped_string & scopedstrMessage = nullptr, const ::scoped_string & scopedstrDetails = nullptr, ::i32 iSkip = CALLSTACK_DEFAULT_SKIP_TRIGGER) :
19 ::exception(estatus, pszMessage, pszDetails, iSkip),
20#else
21 error_number(::e_status estatus, ::i32 iError, const ::scoped_string & scopedstrMessage = nullptr, const ::scoped_string & scopedstrDetails = nullptr, ::i32 iSkip = CALLSTACK_DEFAULT_SKIP_TRIGGER, void* caller_address = nullptr) :
22 ::exception(estatus, scopedstrMessage, scopedstrDetails, iSkip, caller_address),
23#endif
24 m_iErrNo(iError)
25 {
26
27 }
28
29 ~error_number()
30 {
31
32 }
33
34
35};
36
37
38
39
Definition e_status.h:30