Skip to content

Bolty.Error.message/1 prefers bolt.message #21

Merged
matt-beanland merged 1 commit into
masterfrom
20-undefinedfunctionerror-when-formatting-a-neo4j-entitynotfound-error
Apr 30, 2026
Merged

Bolty.Error.message/1 prefers bolt.message #21
matt-beanland merged 1 commit into
masterfrom
20-undefinedfunctionerror-when-formatting-a-neo4j-entitynotfound-error

Conversation

@matt-beanland
Copy link
Copy Markdown
Collaborator

Bolty.Error.message/1 prefers bolt.message (the authoritative Neo4j error text) over module.format_error/1, and guards the fallback with Code.ensure_loaded?/function_exported? to avoid a secondary UndefinedFunctionError crash. Adds PullMessage.format_error/1 and unit tests.

…rror text) over module.format_error/1, and guards the fallback with Code.ensure_loaded?/function_exported? to avoid a secondary UndefinedFunctionError crash. Adds PullMessage.format_error/1 and unit tests.
@matt-beanland matt-beanland merged commit 6ffa9a5 into master Apr 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UndefinedFunctionError when formatting a Neo4j EntityNotFound error

1 participant