laravel-websockets/src/WebSockets/Exceptions/InvalidSignature.php

19 lines
386 B
PHP
Raw Normal View History

2018-11-22 09:54:51 +00:00
<?php
2018-11-27 15:21:31 +00:00
namespace BeyondCode\LaravelWebSockets\WebSockets\Exceptions;
2018-11-22 09:54:51 +00:00
2018-11-27 15:21:31 +00:00
class InvalidSignature extends WebSocketException
2018-11-22 09:54:51 +00:00
{
2020-08-18 17:21:22 +00:00
/**
* Initialize the instance.
*
* @see https://pusher.com/docs/pusher_protocol#error-codes
* @return void
*/
2018-11-22 09:54:51 +00:00
public function __construct()
{
$this->message = 'Invalid Signature';
$this->code = 4009;
}
2018-12-04 21:22:33 +00:00
}