src/Http/JsonResponse.php
public function prepareError($message, $errors=[], $code=404) {
        $this->prepareResult(false, $message, $code, null , $errors);
    }
public function prepareError($message, $errors=[], $code=404) {
        $this->prepareResult(false, $message, $code, null , $errors);
    }
public function prepareError ( $ message , $ errors = [ ] , $ code = 404 ) { $ this -> prepareResult ( false , $ message , $ code , null , $ errors ) ; }
Produces a successful response
@param string $message
@param array $errors
@param int $code default 404
Produces a successful response