XjfddlmZddlZddlmZGddeZGddeZGdd eZ y) ) annotationsN)Mappingc&eZdZdddZddZddZy) HTTPExceptionNcp|tj|j}||_||_||_yN)http HTTPStatusphrase status_codedetailheaders)selfr r rs h/mnt/ssd/data/Dropbox/adrian/vault-secondbrain/venv/lib/python3.12/site-packages/starlette/exceptions.py__init__zHTTPException.__init__s1 >__[188F&  c8|jd|jSNz: )r r rs r__str__zHTTPException.__str__s""#2dkk]33rcl|jj}|d|jd|jdS)Nz (status_code=z , detail=)) __class____name__r r r class_names r__repr__zHTTPException.__repr__s6^^,, ]4+;+;*>i VWXXr)NN)r intr str | NonerzMapping[str, str] | NonereturnNoner strr __module__ __qualname__rrrrrrrs4Yrrc&eZdZdddZddZddZy)WebSocketExceptionNc(||_|xsd|_y)Ncodereason)rr-r.s rrzWebSocketException.__init__s l rc8|jd|jSrr,rs rrzWebSocketException.__str__s))Bt{{m,,rcl|jj}|d|jd|jdS)Nz(code=z , reason=r)rrr-r.rs rrzWebSocketException.__repr__s2^^,, VDII= $++JJrr)r-rr.rr r!r"r$r'rrr)r)s#-Krr)ceZdZdZy)StarletteDeprecationWarninga_A custom deprecation warning for Starlette. Unlike the built-in DeprecationWarning, this inherits from UserWarning to ensure it is visible by default, helping users discover deprecated features without needing to enable warnings explicitly. Reference: https://sethmlarson.dev/deprecations-via-warnings-dont-work-for-python-libraries N)rr%r&__doc__r'rrr2r2$srr2) __future__rr collections.abcr Exceptionrr) UserWarningr2r'rrr8s6" # YI Y K K+r