Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ldy
/
phwoolcon
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a1ee23a1
authored
Sep 13, 2022
by
yeran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
1 parent
0a355e08
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
composer.json
src/Exception/Http/ApiException.php
composer.json
View file @
a1ee23a
...
...
@@ -3,7 +3,7 @@
"description"
:
"Phalcon"
,
"keywords"
:
[
"phwoolcon"
],
"type"
:
"library"
,
"version"
:
"1.0.
8
"
,
"version"
:
"1.0.
9
"
,
"license"
:
"proprietary"
,
"authors"
:
[
{
...
...
src/Exception/Http/ApiException.php
View file @
a1ee23a
...
...
@@ -11,7 +11,7 @@ use Throwable;
class
ApiException
extends
\Exception
{
public
function
__construct
(
$message
=
''
,
int
$code
=
0
,
Throwable
$previous
=
null
)
public
function
__construct
(
$message
=
''
,
int
$code
=
-
1
,
Throwable
$previous
=
null
)
{
if
(
empty
(
$message
))
{
$errorCode
=
ErrorCodes
::
getCodeMsg
(
$code
);
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment