ChainCLI
A modern C++20 command-line interface library
Loading...
Searching...
No Matches
cli::commands::MalformedCommandException Class Reference

Exception thrown when a command is malformed. More...

#include <command.h>

Inheritance diagram for cli::commands::MalformedCommandException:

Public Member Functions

 MalformedCommandException (const Command &cmd, const std::string &msg="")
 
const Commandcommand () const noexcept
 

Detailed Description

Exception thrown when a command is malformed.

This can happen if the command is missing required arguments, has conflicting arguments, or other issues that prevent it from being used correctly.


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