Add Api exceptions.