public function getErrorCodeFromResponseData( array $aResponseData )
    {
        foreach ( $aResponseData as $sKey => $iValue ) {
            if ( preg_match( '/error_(\d+)_code/', $sKey ) ) {
                return (int) $iValue;
            }
        }

        return 999; // UNEXPECTED_ERROR
    }