mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-19 14:36:22 -05: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
|