public static function getMessage(int $code, string $format = null)
    {
        $fields = [
            'c' => $code,
            'm' => self::$messages[$code],
        ];

        return str_replace(array_keys($fields), $fields, $format ?? 'c m');
    }