@@ -73,7 +73,7 @@ export const myPlugin = createBackendPlugin({
|
||||
|
||||
### Error Handling
|
||||
|
||||
When errors are thrown from MCP actions, the backend will handle and surface error message for any error from `@backstage/errors`. Unknown errors will be handled by `@modelcontextprotocol/sdk`'s default error handling, which may result in a generic `500 Server Error` being returned. As a result, we recommend usign errors from `@backstage/errors` when applicable.
|
||||
When errors are thrown from MCP actions, the backend will handle and surface error message for any error from `@backstage/errors`. Unknown errors will be handled by `@modelcontextprotocol/sdk`'s default error handling, which may result in a generic `500 Server Error` being returned. As a result, we recommend using errors from `@backstage/errors` when applicable.
|
||||
|
||||
See https://backstage.io/docs/reference/errors/ for a full list of supported errors.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user