MCPcopy Create free account
hub / github.com/copier-org/copier / UserMessageError

Class UserMessageError

copier/errors.py:59–66  ·  view source on GitHub ↗

Exit the program giving a message to the user.

Source from the content-addressed store, hash-verified

57
58
59class UserMessageError(CopierError):
60 """Exit the program giving a message to the user."""
61
62 def __init__(self, message: str):
63 self.message = message
64
65 def __str__(self) -> str:
66 return self.message
67
68
69class UnsupportedVersionError(UserMessageError):

Callers 6

_render_partsMethod · 0.85
run_recopyMethod · 0.85
run_updateMethod · 0.85
get_update_dataFunction · 0.85
_handle_exceptionsFunction · 0.85
render_valueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected