Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1036288 // pcallFail - canonical way to handle a pcall exception

JavaX fragment (include) [tags: use-pretranspiled]

Transpiled version (9627L) is out of date.

svoid pcallFail(Throwable e) {
  pcallPolicyForThread().handlePcallFail(e);
}

svoid pcallFail(S msg) {
  pcallFail(new Throwable(msg));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036288
Snippet name: pcallFail - canonical way to handle a pcall exception
Eternal ID of this version: #1036288/2
Text MD5: 004e974e2d27168b9b2421f0fc72c64b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-12-11 18:33:44
Source code size: 144 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 76 / 107
Version history: 1 change(s)
Referenced in: [show references]