Inherit from Exception instead of BaseException

Base Exception is not meant to be inherited directly. "The base class for all built-in exceptions. It is not meant to be directly inherited by user-defined classes (for that, use Exception)."