from typing import Dict
from typing import Any


def marker_smoothing_exceptions(all_exceptions: Dict[str, Any], trial_name: str, marker_name: str) -> Dict[str, Any]:
    """Given all exceptions (all_exceptions) return just the ones for the specified marker (marker_name) and trial
    (trial_name)."""
    trial_exceptions = all_exceptions.get(trial_name, {})
    return trial_exceptions.get(marker_name, {})