Skip to content

Commit 4017ae4

Browse files
authored
Fixes Class 'TinCan\ErrorException' not found
1 parent d329340 commit 4017ae4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/RemoteLRS.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ protected function sendRequest($method, $resource) {
127127
//
128128
set_error_handler(
129129
function ($errno, $errstr, $errfile, $errline, array $errcontext) {
130-
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
130+
throw new \ErrorException($errstr, 0, $errno, $errfile, $errline);
131131
}
132132
);
133133

0 commit comments

Comments
 (0)