Osx

@albertogaitan this is for you. Check out my comments here.
Base class for errors is `Exception`. Well, technically it's `BaseException` but that's 4 more characters.