Skip to content

v0.16.0

Compare
Choose a tag to compare
@spawnia spawnia released this 04 Jan 13:23
· 96 commits to master since this release
e567c4c

Added

  • Add configuration EndpointConfig::errorsAreClientSafe() to propagate client-safety of endpoint errors

Changed

  • Move Spawnia\Sailor\ResultErrorsException to Spawnia\Sailor\Error\ResultErrorsException
  • Move Spawnia\Sailor\InvalidDataException to Spawnia\Sailor\Error\InvalidDataException
  • Include only messages in ResultErrorsException::$message, expose full Error objects as ResultErrorsException::$errors

Removed

  • Remove Spawnia\Sailor\Response::assertErrorFree()