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

7
LINES

< > BotCompany Repo | #1023417 // propertiesAndErrors_callF

JavaX fragment (include)

svoid propertiesAndErrors_callF(PropertiesAndErrors pne, S propertyName, O f, O... args) {
  try {
    pne.properties.put(propertyName, callF(f, args));
  } catch e {
    pne.setError(propertyName, persistableThrowable(e));
  }
}

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: #1023417
Snippet name: propertiesAndErrors_callF
Eternal ID of this version: #1023417/1
Text MD5: 42dde94688f6966dc66a9991c391cca7
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-18 01:54:41
Source code size: 235 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 262 / 300
Referenced in: [show references]