jonathan-martz / lumen-exeception-to-json by jonathan-martz

Php Lumen handle api exception.
287
0
2
Package Data
Maintainer Username: jonathan-martz
Maintainer Contact: composer@jmartz.de (Jonathan Martz)
Package Create Date: 2019-10-04
Package Last Update: 2021-06-21
Language: PHP
License: MIT
Last Refreshed: 2024-04-24 03:03:53
Package Statistics
Total Downloads: 287
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 1

Installations

update App/Execption/Handler

public function render($request, Exception $e){
    return $this->ExceptionHandler
    ->toJson($request, $e);
}