public function __construct($entity, $identifier, $code, $attribute) { parent::__construct(sprintf("Unable to load %s with identifier: %d", $entity, $identifier), self::CODE_DATA_NOT_FOUND, $attribute, 'notFoundInDataLayer'); }
public function __construct($entity, $identifier, $code, $attribute) { parent::__construct(sprintf("The parameter %s's value of %s is invalid", $entity, $identifier), self::CODE_DATA_INVALID, $attribute, 'invalidFormat'); }