This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | |
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } | |
return new (P || (P = Promise))(function (resolve, reject) { | |
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } | |
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } | |
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } | |
step((generator = generator.apply(thisArg, _arguments || [])).next()); | |
}); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Containers\AppSection\Branch\Exceptions; | |
use App\Ship\Parents\Exceptions\ValidationException as ParentValidationException; | |
class ExampleValidationException extends ParentValidationException | |
{ | |
protected string $scope = 'E_EXAMPLE'; | |
protected string $textCode = 'E_EXAMPLE_TEXT_CODE'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Containers\AppSection\Branch\Exceptions; | |
use App\Ship\Parents\Exceptions\Exception as ParentException; | |
use Symfony\Component\HttpFoundation\Response; | |
class ExampleException extends ParentException | |
{ | |
protected $code = Response::HTTP_NOT_FOUND; |