async def METHOD_NAME(*args, **kwargs):
    try:
        return await handler(*args, **kwargs)
    except ClientResponseError as err:
        if err.status == web.HTTPNotFound.status_code:
            raise exceptions.S3InvalidPathError(
                kwargs.get("file_id", "unknown file id")
            )
        if err.status == web.HTTPUnprocessableEntity.status_code:
            raise exceptions.StorageInvalidCall(
                f"Invalid call to storage: {err.message}"
            )
        if 500 > err.status > 399:
            raise exceptions.StorageInvalidCall(err.message) from err
        if err.status > 500:
            raise exceptions.StorageServerIssue(err.message) from err
    except ClientConnectionError as err:
        raise exceptions.StorageServerIssue(f"{err}") from err
    except JSONDecodeError as err:
        raise exceptions.StorageServerIssue(f"{err}") from err