Created
March 31, 2016 22:09
-
-
Save apb2006/37b9f50f25cf409d440ee11fdb951792 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare function local:result($id){ | |
try{ | |
map{ "result":async:result($id) | |
} | |
} catch * { | |
map{ "error": map { | |
'code': $err:code, | |
'description': $err:description, | |
'module': $err:module, | |
'line': $err:line-number, | |
'column': $err:column-number, | |
'value': $err:value | |
} | |
} | |
} | |
}; | |
async:ids()=>head()=>local:result() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment