mevdschee / php-sp-api

Single file PHP script that adds a REST API to a SQL database
54 stars 32 forks source link

Handling Errors? #8

Open ratsey opened 6 years ago

ratsey commented 6 years ago

I have some stored procedures that will generate errors using the syntax

SIGNAL SQLSTATE '45000'
SET MESSAGE_TEXT = '[My error message here]';

Could the API be adjusted to make these error messages available?