---
name: "sc_InputError"
section: "3"
platform: "linux"
package: "libsc-doc"
version: "2.3.1-22"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/sc_InputError"
---

# sc\_InputError(3)

This is thrown when invalid input is provided.

## NAME

sc::InputError - This is thrown when invalid input is provided.

## SYNOPSIS

`#include <scexception.h>`

Inherits **sc::SCException**.

### Public Member Functions

**InputError** (const char \*description=0, const char \*file=0, int line=0, const char \*keyword=0, const char \*value=0, const **ClassDesc** \*class\_desc=0, const char \*exception\_type='InputError')  throw ()\
 **InputError** (const **InputError** &)  throw ()\
 const char \* **keyword** () const  throw ()\
 const char \* **value** () const  throw ()\

## Detailed Description

This is thrown when invalid input is provided.

Note that sometimes input can be internally generated, so what logically would be a **ProgrammingError** could result in an **InputError** being thrown.

## Author

Generated automatically by Doxygen for MPQC from the source code.
