t('Could not obtain lock type %d on "%s".', [$lockType, $path]); parent::__construct($message, $code, $previous); } /** * custom string representation of object * * @since 7.0.0 */ public function __toString(): string { return self::class . ": [{$this->code}]: {$this->message}\n"; } }