Fixed errors and changed Enum to IntEnum in RiotException