MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / isPlatformError

Function isPlatformError

integrations/slack/src/index.ts:175–183  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

173}
174
175function isPlatformError(error: unknown): error is WebAPIPlatformError {
176 return (
177 typeof error === "object" &&
178 error !== null &&
179 "code" in error &&
180 typeof error.code === "string" &&
181 error.code === "slack_webapi_platform_error"
182 );
183}

Callers 1

postMessageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…