<gh_stars>1-10
# -*- encoding: utf-8 -*-
from rest_framework.exceptions import APIException

class FailedVerifiedSignature(APIException):
    status_code = 400
    default_detail = 'Fallo el chequeo de la firma, checa tu payload lo creaste bien o si no se enviaron tus datos corruptamente'
    default_code = 'Failed verified Signature'


class NonValidPubKey(APIException):
    status_code = 400
    default_detail = 'Wrong Public Key'
    default_code = 'wrong_public_key'
