Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

make_array_error

Function
This function is defined in the parse_utils module.
Create a helpful error message for invalid array format.

Signature

def make_array_error(param_name: str, value: list, expected_format: str) -> ValueError

Parameters

param_name
str
required
Name of the parameter
value
list
required
Invalid array value
expected_format
str
required
Description of expected format

Returns

Returns
ValueError
ValueError with helpful message

Uses

  • ValueError

Source

View on GitHub

praisonaiagents/config/parse_utils.py at line 237