Uses 911K of libraries. Click here for Pure Java version (9123L/48K).
1 | !7 |
2 | |
3 | concept GazelleError { |
4 | S msg; |
5 | S stackTrace; |
6 | S ruleID; |
7 | } |
8 | |
9 | cmodule GazelleErrors > DynCRUD<GazelleError> { |
10 | start { addCountToName(); } |
11 | |
12 | // API |
13 | |
14 | void storeError(Throwable e, O... _) { |
15 | nu GazelleError( |
16 | msg := exceptionMessageUnlessEmpty(e), |
17 | stackTrace := getStackTrace(e), |
18 | ruleID := optPar ruleID(_)); |
19 | } |
20 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022489 |
Snippet name: | Gazelle Errors |
Eternal ID of this version: | #1022489/4 |
Text MD5: | 3772233776e21cb92963c5b0ca666ced |
Transpilation MD5: | b8c49030e2bf5d2cb6ca306b361d3e22 |
Author: | stefan |
Category: | javax / gazelle |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-19 10:40:37 |
Source code size: | 364 bytes / 20 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 282 / 512 |
Version history: | 3 change(s) |
Referenced in: | [show references] |