Skip to content

Commit 850dfed

Browse files
committed
Update ErrorBuilder.php
1 parent 68cf696 commit 850dfed

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

src/ErrorBuilder.php

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -117,36 +117,4 @@ public static function build(
117117
$template ?? static::templateByType($type), $context, $keyAliases
118118
);
119119
}
120-
121-
122-
// public $code;
123-
// public $type;
124-
// public $message;
125-
126-
// public function __construct(int $code, string $message)
127-
// {
128-
// $this->code = $code;
129-
// $this->type = static::TYPE_BY_CODES[$code] ?? static::TYPE_BY_CODES[0];
130-
// $this->message = $message;
131-
// }
132-
133-
// public static function getCode(): int
134-
// {
135-
// return $this->code;
136-
// }
137-
138-
// public static function getType(): string
139-
// {
140-
// return $this->type;
141-
// }
142-
143-
// public static function getMessage(): string
144-
// {
145-
// return $this->message;
146-
// }
147-
148-
// public function __toString()
149-
// {
150-
// return $this->getMessage();
151-
// }
152120
}

0 commit comments

Comments
 (0)