Repository navigation
A minor release of the 13.x line.
Added
code(?string $code)sets a stable identifier on an error, such asauth.expired, for the client to act on. It is refused on a success. A profile can rename the field.
Behavior Changes from 13.1.x
- Every error sends
codeaftermessage,nulluntilcode()sets it, so an error is{success, message, code, errors, meta}. The exception renderer sets no code, so its errors sendcode: null. A success is unchanged.
Full Changelog: 13.1.0...13.2.0