Phue\Test\Transport\HttpTest::providerErrorTypes PHP Method

providerErrorTypes() public method

Provider: Error types
public providerErrorTypes ( ) : array
return array
    public function providerErrorTypes()
    {
        $errorTypes = array(array(-1, 'Phue\\Transport\\Exception\\BridgeException'));
        foreach (Http::$exceptionMap as $errorId => $errorClass) {
            $errorTypes[] = array($errorId, $errorClass);
        }
        return $errorTypes;
    }