Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P9482
(An Untitled Masterwork)
Active
Public
Actions
Authored by
Addshore
on Oct 26 2019, 1:57 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F30893715: raw.txt
Oct 26 2019, 1:57 PM
2019-10-26 13:57:33 (UTC+0)
Subscribers
None
private function throwUsageExceptions( $result ) {
var_dump($result);
die();
if ( is_array( $result ) && array_key_exists( 'error', $result ) ) {
throw new UsageException(
$result['error']['code'],
$result['error']['info'],
$result
);
}
}
Event Timeline
Addshore
created this paste.
Oct 26 2019, 1:57 PM
2019-10-26 13:57:33 (UTC+0)
Log In to Comment