class_docstr: Raised when a bad ttl= argument string is passed.
code: def __init__(self, ttl: str):
      MarkdownFormattedException.__init__(
          self,
          "TTL string doesn't look right. It should be formatted as"
          f"`'1d2h34m'` or `2 days`, for example. Got: {ttl}",
      )
  
imports: import types
  from typing import Any, Optional
  from streamlit import type_util
  from streamlit.errors import MarkdownFormattedException, StreamlitAPIException, StreamlitAPIWarning
  from streamlit.runtime.caching.cache_type import CacheType, get_decorator_api_name
label_desc: Use image node_id 1 to create a new BadTTLStringError object from inherited base classes: StreamlitAPIException with example: obj = BadTTLStringError(ttl)