mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-23 05:08:32 +00:00
12 lines
242 B
Python
12 lines
242 B
Python
from crc.api.common import ApiError
|
|
|
|
|
|
class FailingService(object):
|
|
|
|
@staticmethod
|
|
def fail_as_service():
|
|
"""It fails"""
|
|
|
|
raise ApiError(code='bad_service',
|
|
message='This is my failing service')
|