Home / Function/ convertUnknownToApiError() — supabase Function Reference

convertUnknownToApiError() — supabase Function Reference

Architecture documentation for the convertUnknownToApiError() function in utils.ts from the supabase codebase.

Entity Profile

Relationship Graph

Source Code

apps/docs/app/api/utils.ts lines 124–126

export function convertUnknownToApiError(error: unknown): ApiError {
  return new ApiError('Unknown error', error)
}

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free