getType()), $record->getValue(), $record->getTtl()); } } function pretty_print_error(string $queryName, \Throwable $error) { print "-- " . $queryName . " " . \str_repeat("-", 70 - \strlen($queryName)) . "\r\n"; print \get_class($error) . ": " . $error->getMessage() . "\r\n"; }