Updated API exceptions.