mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 10:51:36 -04:00
9 lines
226 B
Python
9 lines
226 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_code = HTTPStatus.BAD_REQUEST
|