Selected Public Exception Hierarchy

Selected Public Exception Hierarchy An architecture diagram generated by Archify. NotebookLMError · public exception root · Architecture component · Exception NotebookLMError public exception root Exception NetworkError · transport failures · Architecture component NetworkError transport failures RPCError · remote-call failures · Architecture component RPCError remote-call failures NotFoundError · missing entity · Architecture component NotFoundError missing entity WaitTimeoutError · local polling timeout · Architecture component WaitTimeoutError local polling timeout RPCTimeoutError · request timed out · Architecture component RPCTimeoutError request timed out RPC Failure Types · Auth · RateLimit · Server · Architecture component · direct subclasses RPC Failure Types Auth · RateLimit · Server direct subclasses Domain *NotFoundError · Notebook · Source · Artifact · Architecture component · also RPCError Domain *NotFoundError Notebook · Source · Artifact also RPCError ArtifactTimeoutError · generation wait expired · Architecture component ArtifactTimeoutError generation wait expired specializes direct subclasses also RPCError specializes

Direct RPC failures

  • • AuthError, RateLimitError and ServerError directly subclass RPCError
  • • DecodingError and UnknownRPCMethodError remain narrow RPCError types

Multiple inheritance

  • • NotebookNotFoundError, SourceNotFoundError and ArtifactNotFoundError share both branches
  • • Callers can catch the domain family or the broader RPC failure family

Two timeout meanings

  • • RPCTimeoutError reports a transport request timeout
  • • ArtifactTimeoutError reports an exhausted local generation wait