getStatusCode(); } return response()->json(array( 'errors' => array( $e->getMessage(), ) ), $statusCode); } } }