• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

php-casbin / think-authz / 8392966515

22 Mar 2024 03:51PM UTC coverage: 93.333% (-0.6%) from 93.902%
8392966515

push

github

leeqvip
fix: add unauthorized message

0 of 1 new or added line in 1 file covered. (0.0%)

154 of 165 relevant lines covered (93.33%)

24.61 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/exception/Unauthorized.php
1
<?php
2

3
namespace tauthz\exception;
4

5
use think\exception\HttpException;
6

7
class Unauthorized extends HttpException
8
{
9
    /**
10
     * Create a new exception instance.
11
     *
12
     * @return void
13
     */
14
    public function __construct()
15
    {
NEW
16
        parent::__construct(403, '此操作未经授权');
×
17
    }
18
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc