On Sat, Jul 5, 2025 at 1:41 AM Jakub Zelenka <bu...@php.net> wrote:

> On Sat, Jul 5, 2025 at 1:29 AM Ben Ramsey <ram...@php.net> wrote:
>
>> Another thing that needs to be addressed in the RFC is how error
>> reporting will work. I see this hinted at under Future Scope, but one of
>> the benefits of the existing JSON Schema Composer packages is the robust
>> level of error reporting they provide.
>>
>>
> The error reporting is done using normal error codes and exceptions get
> some sort of identification message.
>

I should probably show some example how this looks like. See this test
https://github.com/bukka/php-jsond/blob/1f640becf3cd0f0cca9c72fa5045c7ccefc26d7f/tests/jsond_decode_schema_002.phpt


Kind regards,

Jakub

Reply via email to