Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct("This action requires you to be authorized", HttpStatusCodes::HTTP_UNAUTHORIZED);
 }
Ejemplo n.º 2
0
 public function __construct()
 {
     parent::__construct("Genre does not exists in your library", HttpStatusCodes::HTTP_NOT_FOUND);
 }
Ejemplo n.º 3
0
 function __construct()
 {
     parent::__construct("You have no access to this resources", HttpStatusCodes::HTTP_FORBIDDEN);
 }