Files
tryton/modules/web_shop_shopify/exceptions.py
T

17 lines
454 B
Python
Raw Normal View History

2021-10-12 10:15:55 +02:00
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
2026-03-29 20:05:46 +02:00
from trytond.exceptions import TrytonException, UserError, UserWarning
class GraphQLException(TrytonException):
def __init__(self, message):
super().__init__(message)
self.message = message
2021-10-12 10:15:55 +02:00
class ShopifyError(UserError):
pass
2024-03-25 14:24:55 +01:00
class ShopifyCredentialWarning(UserWarning):
pass