Compare commits
5 Commits
3e4374b0b9
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| df60052a37 | |||
| 0b3ad41145 | |||
| 04be8432de | |||
| 1074008f9e | |||
| 688835aa01 |
2
LICENSE
2
LICENSE
@@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2025 Potter
|
Copyright (c) 2025 Jay Potter
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
|
||||||
associated documentation files (the "Software"), to deal in the Software without restriction, including
|
associated documentation files (the "Software"), to deal in the Software without restriction, including
|
||||||
|
|||||||
@@ -9,11 +9,5 @@ use \Exception;
|
|||||||
|
|
||||||
abstract class AbstractThrowable extends Exception implements ThrowableInterface
|
abstract class AbstractThrowable extends Exception implements ThrowableInterface
|
||||||
{
|
{
|
||||||
abstract public function getMessage(): string;
|
|
||||||
abstract public function getCode(): int;
|
|
||||||
abstract public function getFile(): string;
|
|
||||||
abstract public function getLine(): int;
|
|
||||||
abstract public function getTrace(): array;
|
|
||||||
abstract public function getTraceAsString(): string;
|
|
||||||
abstract public function getPrevious(): ?BaseThrowable;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ use \Potter\Stringable\StringableInterface;
|
|||||||
interface ThrowableInterface extends StringableInterface
|
interface ThrowableInterface extends StringableInterface
|
||||||
{
|
{
|
||||||
public function getMessage(): string;
|
public function getMessage(): string;
|
||||||
public function getCode(): int;
|
public function getCode();
|
||||||
public function getFile(): string;
|
public function getFile(): string;
|
||||||
public function getLine(): int;
|
public function getLine(): int;
|
||||||
public function getTrace(): array;
|
public function getTrace(): array;
|
||||||
|
|||||||
Reference in New Issue
Block a user