10 lines
190 B
Python
10 lines
190 B
Python
import jingrow
|
|
|
|
|
|
class InvalidSecretKeyError(Exception):
|
|
http_status_code = 401
|
|
|
|
|
|
def raise_invalid_key_error():
|
|
jingrow.throw("Please provide a valid secret key.", InvalidSecretKeyError)
|