Skip to content

PersistentAI API Documentation / @persistentai/fireflow-vfs / server / getLakeFSErrorMessage

Function: getLakeFSErrorMessage()

getLakeFSErrorMessage(error): string

Defined in: packages/fireflow-vfs/src/lakefs/client.ts:102

Helper to extract error message from lakeFS API errors

The error structure can be:

  • Direct error object with message
  • Wrapped in error property
  • ObjectError schema with status_code and path

Parameters

error

unknown

Returns

string

Licensed under BUSL-1.1