mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
10 lines
221 B
Python
10 lines
221 B
Python
|
|
from http import HTTPStatus
|
||
|
|
|
||
|
|
from wrolpi.errors import APIError
|
||
|
|
|
||
|
|
|
||
|
|
class InvalidArchive(APIError):
|
||
|
|
code = 'INVALID_ARCHIVE'
|
||
|
|
summary = 'The archive is invalid. See server logs.'
|
||
|
|
status = HTTPStatus.BAD_REQUEST
|