Class ErrorCodeException

Inheritance Relationships

Base Type

Class Documentation

class ErrorCodeException : public csp::common::continuations::ExpectedExceptionBase

An exception class for Multiplayer Error code.

This template class captures the Multiplayer Error code object alongside the exception. It’s ideal for handling errors from Multiplayer where specific error codes need to be preserved.

Public Functions

inline explicit ErrorCodeException(csp::multiplayer::ErrorCode Code, const std::string &Message)
inline virtual const ExceptionType GetExceptionType() const override
inline csp::multiplayer::ErrorCode Code() const noexcept