Commit Graph

91 Commits

Author SHA1 Message Date
314ed8d05c [ox/std] Reorder Error fields to allow for better packing 2021-04-20 22:16:29 -05:00
16298d8672 [ox/std] Add const version of Result::get 2021-04-18 15:05:48 -05:00
a22823e3b4 [ox] Cleanup some old style error handling 2021-04-17 11:33:33 -05:00
6a566ed35e [ox/std] Cleanup more unnecessary copies and add new variants of oxRequire 2021-04-16 19:53:02 -05:00
2dde9473d5 [ox/std] Remove redundant copies from Result constructors 2021-04-11 01:24:20 -05:00
bcc4b5f816 [ox/std] Add oxRequireT for throwing instead of returning Errors 2021-04-01 21:58:03 -05:00
fb7b582348 [ox/std] Add moveTo method to Result 2021-03-20 15:32:13 -05:00
e6d271295f [ox/std] Add oxRequire 2021-03-16 21:15:05 -05:00
ef6673067b [ox/std] Make Error constructor explicit 2021-03-10 20:14:15 -06:00
57ad13fc4a [ox/std] Add an unlikely label to ox{Return,Throw}Error for C++20 builds 2021-02-21 00:32:07 -06:00
546f083346 [ox] Run liccor 2021-01-21 23:35:13 -06:00
81a78bf95e [ox/std] Fix Error to build in Clang 2020-10-20 19:11:06 -05:00
b6c82c42f0 [ox/std] Replace ox::_error with ox::Error constructor 2020-10-16 20:07:07 -05:00
fe40b2e144 [ox] Cleanup unnecessary ox:: 2020-10-16 19:56:13 -05:00
6b720042d0 [ox] Rename ValErr to Result 2020-10-16 19:43:10 -05:00
75814a2896 [ox] Remove now superfluous [[nodiscards]] from ox::Error functions 2020-10-15 23:55:20 -05:00
b1d94782db [ox/std] Add Error's m_i to copy operator and constructor 2020-10-12 21:00:01 -05:00
a725369311 [ox] Make Error its own type, not dependent on Integer and make nodiscard 2020-10-11 19:04:00 -05:00
e92e980fde [ox/std] Change toError(ox::ValErr<T>) to toError(const ox::ValErr<T>&) 2020-06-16 00:45:24 -05:00
8753d39b66 [ox/std] Fix OxError for release builds and fix ox::Error assignment operator 2020-04-16 22:19:27 -05:00
540e67fcd8 [ox/std] Add support for messages in ox::Error 2020-04-07 22:02:07 -05:00
e59499b127 [ox/std] Fix oxIgnoreError to not completely ignore the statement it encompases 2020-02-11 00:07:37 -06:00
52026ba1a3 [ox/fs] Add oxPanic and remove ErrorInfo 2020-01-25 00:04:47 -06:00
147a37ac6e [ox/std] Cleanup 2019-11-26 23:18:19 -06:00
4f81c47734 [ox] Fix GBA compile errors 2019-10-28 00:40:56 -05:00
656039e011 [ox/std] Replace Error with a multi-field struct 2019-10-27 16:21:41 -05:00
54ac86fce7 [ox/fs] Add FileAddress support to FileSystem 2019-10-12 11:56:49 -05:00
6138d0a37e [ox] Fix GCC warnings 2019-07-31 00:06:47 -05:00
c27cc56e31 [ox] Make ValErr::operator T() explicit 2019-07-30 19:00:01 -05:00
142387aa04 [ox/std] Improve ability to create unique int types, regardless of underlying type 2019-07-28 00:57:50 -05:00
f4b336dd77 [ox] Make Error use a strong int 2019-07-28 00:15:10 -05:00
5834201fbb [ox/std] Add ValErr support to oxReturnError 2019-06-16 19:00:47 -05:00
1bf3809b47 [ox] Merge branch 'master' of github.com:gtalent/nostalgia 2019-06-14 18:13:50 -05:00
096509c2be [ox] Fix GCC errors 2019-06-06 18:50:06 -05:00
5dbe160633 [ox/std] Uglify OxError parameter name to prevent name conflicts 2019-03-30 17:13:03 -05:00
9f78e2320f [ox/std] Remove implicit signed/unsigned conversions 2019-03-04 21:22:35 -06:00
32e2878fb1 [ox/std] Fix errCode extraction incorrect bit shift 2018-08-19 00:06:37 -05:00
338199be12 [ox/std] Further constexpr OxError 2018-08-19 00:02:13 -05:00
f12de38211 [ox/std] Fix oxReturnError to not re-originate the Error 2018-08-18 23:57:59 -05:00
d28f727742 [ox/std] Add oxReturnError 2018-07-07 14:37:31 -05:00
ea7cf59ec7 [ox] Add file:line error tracing 2018-05-31 22:45:57 -05:00