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