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
errorproperty - ObjectError schema with
status_codeandpath
Parameters
error
unknown
Returns
string