Added poll creation

This commit is contained in:
2021-04-04 21:22:38 +02:00
parent 3604b1ae19
commit 9f0c8ba3c6
4 changed files with 43 additions and 2 deletions

View File

@ -33,7 +33,8 @@ class Meta
$this->code = $meta['code'];
if ($this->code === 400) {
throw new PnutException($meta['error_message']);
}if ($this->code === 401) {
}
if ($this->code === 401) {
throw new NotAuthorizedException($meta['error_message']);
}
if ($this->code === 403) {