CPPKiteConnect
kiteconnect::unknownException Class Reference

This exception is thrown when REST API doesn't return a HTTP OK 200 code but doesn't return any exception string either. More...

#include <exceptions.hpp>

Inheritance diagram for kiteconnect::unknownException:
Collaboration diagram for kiteconnect::unknownException:

Public Member Functions

 unknownException (int code, string message)
 
const char * what () const noexcept override
 Provides short descripion of the error. More...
 
- Public Member Functions inherited from kiteconnect::kiteppException
 kiteppException (int Code_, string Message_)
 
int code () const noexcept
 Get HTTP code sent by the REST API. More...
 
const char * message () const noexcept
 Get error message sent by the REST API. More...
 

Detailed Description

This exception is thrown when REST API doesn't return a HTTP OK 200 code but doesn't return any exception string either.

Member Function Documentation

◆ what()

const char* kiteconnect::unknownException::what ( ) const
inlineoverridevirtualnoexcept

Provides short descripion of the error.

Returns
const char* short descripion

Implements kiteconnect::kiteppException.


The documentation for this class was generated from the following file: