MCPcopy Index your code
hub / github.com/github/spec-kit / _with_error_detail

Function _with_error_detail

src/specify_cli/integration_status.py:66–69  ·  view source on GitHub ↗
(message: str, error: IntegrationReadError)

Source from the content-addressed store, hash-verified

64
65
66def _with_error_detail(message: str, error: IntegrationReadError) -> str:
67 if error.detail:
68 return f"{message} Detail: {error.detail}"
69 return message
70
71
72def _integration_state_error_message(error: IntegrationReadError) -> str:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected