excn

Bindings for utility::excn namespace

class pyrosetta.rosetta.utility.excn.BadInput

Bases: IOError

EXCN_BadInput, as an IO error, should only be used for bad user input. Do not use for something which is just bad function input.

add_msg(self: pyrosetta.rosetta.utility.excn.Exception, str: str) None

C++: utility::excn::Exception::add_msg(const std::string &) –> void

assign(self: pyrosetta.rosetta.utility.excn.BadInput, : pyrosetta.rosetta.utility.excn.BadInput) pyrosetta.rosetta.utility.excn.BadInput

C++: utility::excn::BadInput::operator=(const class utility::excn::BadInput &) –> class utility::excn::BadInput &

crash_log(self: pyrosetta.rosetta.utility.excn.Exception) None
Invoke a crash log for throwing this exception.

If your exception is one which is a “non-error” exception, override this function to do nothing.

C++: utility::excn::Exception::crash_log() const –> void

display(self: pyrosetta.rosetta.utility.excn.Exception) None
Present this exception to the user.

Will invoke crash log reporting, if applicable

C++: utility::excn::Exception::display() const –> void

file(self: pyrosetta.rosetta.utility.excn.Exception) str

C++: utility::excn::Exception::file() –> const std::string &

line(self: pyrosetta.rosetta.utility.excn.Exception) int

C++: utility::excn::Exception::line() –> int

msg(*args, **kwargs)

Overloaded function.

  1. msg(self: pyrosetta.rosetta.utility.excn.Exception) -> str

Will return a formatted message (with file/line information)

C++: utility::excn::Exception::msg() const –> std::string

  1. msg(self: pyrosetta.rosetta.utility.excn.Exception, m: str) -> None

Will set the raw message.

C++: utility::excn::Exception::msg(const std::string &) –> void

prepend_to_msg(self: pyrosetta.rosetta.utility.excn.Exception, str: str) None

C++: utility::excn::Exception::prepend_to_msg(const std::string &) –> void

raw_msg(self: pyrosetta.rosetta.utility.excn.Exception) str

Will return the raw message (without file/line information)

C++: utility::excn::Exception::raw_msg() const –> std::string

show(self: pyrosetta.rosetta.utility.excn.Exception, : pyrosetta.rosetta.std.ostream) None

C++: utility::excn::Exception::show(std::ostream &) const –> void

traceback(self: pyrosetta.rosetta.utility.excn.Exception) str

C++: utility::excn::Exception::traceback() –> const std::string &

what(self: pyrosetta.rosetta.std.exception) str

C++: std::exception::what() const –> const char *

class pyrosetta.rosetta.utility.excn.Exception

Bases: exception

add_msg(self: pyrosetta.rosetta.utility.excn.Exception, str: str) None

C++: utility::excn::Exception::add_msg(const std::string &) –> void

assign(self: pyrosetta.rosetta.utility.excn.Exception, : pyrosetta.rosetta.utility.excn.Exception) pyrosetta.rosetta.utility.excn.Exception

C++: utility::excn::Exception::operator=(const class utility::excn::Exception &) –> class utility::excn::Exception &

crash_log(self: pyrosetta.rosetta.utility.excn.Exception) None
Invoke a crash log for throwing this exception.

If your exception is one which is a “non-error” exception, override this function to do nothing.

C++: utility::excn::Exception::crash_log() const –> void

display(self: pyrosetta.rosetta.utility.excn.Exception) None
Present this exception to the user.

Will invoke crash log reporting, if applicable

C++: utility::excn::Exception::display() const –> void

file(self: pyrosetta.rosetta.utility.excn.Exception) str

C++: utility::excn::Exception::file() –> const std::string &

line(self: pyrosetta.rosetta.utility.excn.Exception) int

C++: utility::excn::Exception::line() –> int

msg(*args, **kwargs)

Overloaded function.

  1. msg(self: pyrosetta.rosetta.utility.excn.Exception) -> str

Will return a formatted message (with file/line information)

C++: utility::excn::Exception::msg() const –> std::string

  1. msg(self: pyrosetta.rosetta.utility.excn.Exception, m: str) -> None

Will set the raw message.

C++: utility::excn::Exception::msg(const std::string &) –> void

prepend_to_msg(self: pyrosetta.rosetta.utility.excn.Exception, str: str) None

C++: utility::excn::Exception::prepend_to_msg(const std::string &) –> void

raw_msg(self: pyrosetta.rosetta.utility.excn.Exception) str

Will return the raw message (without file/line information)

C++: utility::excn::Exception::raw_msg() const –> std::string

show(self: pyrosetta.rosetta.utility.excn.Exception, : pyrosetta.rosetta.std.ostream) None

C++: utility::excn::Exception::show(std::ostream &) const –> void

traceback(self: pyrosetta.rosetta.utility.excn.Exception) str

C++: utility::excn::Exception::traceback() –> const std::string &

what(self: pyrosetta.rosetta.std.exception) str

C++: std::exception::what() const –> const char *

class pyrosetta.rosetta.utility.excn.FileNotFound

Bases: IOError

add_msg(self: pyrosetta.rosetta.utility.excn.Exception, str: str) None

C++: utility::excn::Exception::add_msg(const std::string &) –> void

assign(self: pyrosetta.rosetta.utility.excn.FileNotFound, : pyrosetta.rosetta.utility.excn.FileNotFound) pyrosetta.rosetta.utility.excn.FileNotFound

C++: utility::excn::FileNotFound::operator=(const class utility::excn::FileNotFound &) –> class utility::excn::FileNotFound &

crash_log(self: pyrosetta.rosetta.utility.excn.FileNotFound) None

C++: utility::excn::FileNotFound::crash_log() const –> void

display(self: pyrosetta.rosetta.utility.excn.Exception) None
Present this exception to the user.

Will invoke crash log reporting, if applicable

C++: utility::excn::Exception::display() const –> void

file(self: pyrosetta.rosetta.utility.excn.Exception) str

C++: utility::excn::Exception::file() –> const std::string &

line(self: pyrosetta.rosetta.utility.excn.Exception) int

C++: utility::excn::Exception::line() –> int

msg(*args, **kwargs)

Overloaded function.

  1. msg(self: pyrosetta.rosetta.utility.excn.Exception) -> str

Will return a formatted message (with file/line information)

C++: utility::excn::Exception::msg() const –> std::string

  1. msg(self: pyrosetta.rosetta.utility.excn.Exception, m: str) -> None

Will set the raw message.

C++: utility::excn::Exception::msg(const std::string &) –> void

prepend_to_msg(self: pyrosetta.rosetta.utility.excn.Exception, str: str) None

C++: utility::excn::Exception::prepend_to_msg(const std::string &) –> void

raw_msg(self: pyrosetta.rosetta.utility.excn.Exception) str

Will return the raw message (without file/line information)

C++: utility::excn::Exception::raw_msg() const –> std::string

show(self: pyrosetta.rosetta.utility.excn.Exception, : pyrosetta.rosetta.std.ostream) None

C++: utility::excn::Exception::show(std::ostream &) const –> void

traceback(self: pyrosetta.rosetta.utility.excn.Exception) str

C++: utility::excn::Exception::traceback() –> const std::string &

what(self: pyrosetta.rosetta.std.exception) str

C++: std::exception::what() const –> const char *

class pyrosetta.rosetta.utility.excn.IOError

Bases: Exception

add_msg(self: pyrosetta.rosetta.utility.excn.Exception, str: str) None

C++: utility::excn::Exception::add_msg(const std::string &) –> void

assign(self: pyrosetta.rosetta.utility.excn.IOError, : pyrosetta.rosetta.utility.excn.IOError) pyrosetta.rosetta.utility.excn.IOError

C++: utility::excn::IOError::operator=(const class utility::excn::IOError &) –> class utility::excn::IOError &

crash_log(self: pyrosetta.rosetta.utility.excn.Exception) None
Invoke a crash log for throwing this exception.

If your exception is one which is a “non-error” exception, override this function to do nothing.

C++: utility::excn::Exception::crash_log() const –> void

display(self: pyrosetta.rosetta.utility.excn.Exception) None
Present this exception to the user.

Will invoke crash log reporting, if applicable

C++: utility::excn::Exception::display() const –> void

file(self: pyrosetta.rosetta.utility.excn.Exception) str

C++: utility::excn::Exception::file() –> const std::string &

line(self: pyrosetta.rosetta.utility.excn.Exception) int

C++: utility::excn::Exception::line() –> int

msg(*args, **kwargs)

Overloaded function.

  1. msg(self: pyrosetta.rosetta.utility.excn.Exception) -> str

Will return a formatted message (with file/line information)

C++: utility::excn::Exception::msg() const –> std::string

  1. msg(self: pyrosetta.rosetta.utility.excn.Exception, m: str) -> None

Will set the raw message.

C++: utility::excn::Exception::msg(const std::string &) –> void

prepend_to_msg(self: pyrosetta.rosetta.utility.excn.Exception, str: str) None

C++: utility::excn::Exception::prepend_to_msg(const std::string &) –> void

raw_msg(self: pyrosetta.rosetta.utility.excn.Exception) str

Will return the raw message (without file/line information)

C++: utility::excn::Exception::raw_msg() const –> std::string

show(self: pyrosetta.rosetta.utility.excn.Exception, : pyrosetta.rosetta.std.ostream) None

C++: utility::excn::Exception::show(std::ostream &) const –> void

traceback(self: pyrosetta.rosetta.utility.excn.Exception) str

C++: utility::excn::Exception::traceback() –> const std::string &

what(self: pyrosetta.rosetta.std.exception) str

C++: std::exception::what() const –> const char *

class pyrosetta.rosetta.utility.excn.KeyError

Bases: Exception

add_msg(self: pyrosetta.rosetta.utility.excn.Exception, str: str) None

C++: utility::excn::Exception::add_msg(const std::string &) –> void

assign(self: pyrosetta.rosetta.utility.excn.KeyError, : pyrosetta.rosetta.utility.excn.KeyError) pyrosetta.rosetta.utility.excn.KeyError

C++: utility::excn::KeyError::operator=(const class utility::excn::KeyError &) –> class utility::excn::KeyError &

crash_log(self: pyrosetta.rosetta.utility.excn.Exception) None
Invoke a crash log for throwing this exception.

If your exception is one which is a “non-error” exception, override this function to do nothing.

C++: utility::excn::Exception::crash_log() const –> void

display(self: pyrosetta.rosetta.utility.excn.Exception) None
Present this exception to the user.

Will invoke crash log reporting, if applicable

C++: utility::excn::Exception::display() const –> void

file(self: pyrosetta.rosetta.utility.excn.Exception) str

C++: utility::excn::Exception::file() –> const std::string &

line(self: pyrosetta.rosetta.utility.excn.Exception) int

C++: utility::excn::Exception::line() –> int

msg(*args, **kwargs)

Overloaded function.

  1. msg(self: pyrosetta.rosetta.utility.excn.Exception) -> str

Will return a formatted message (with file/line information)

C++: utility::excn::Exception::msg() const –> std::string

  1. msg(self: pyrosetta.rosetta.utility.excn.Exception, m: str) -> None

Will set the raw message.

C++: utility::excn::Exception::msg(const std::string &) –> void

prepend_to_msg(self: pyrosetta.rosetta.utility.excn.Exception, str: str) None

C++: utility::excn::Exception::prepend_to_msg(const std::string &) –> void

raw_msg(self: pyrosetta.rosetta.utility.excn.Exception) str

Will return the raw message (without file/line information)

C++: utility::excn::Exception::raw_msg() const –> std::string

show(self: pyrosetta.rosetta.utility.excn.Exception, : pyrosetta.rosetta.std.ostream) None

C++: utility::excn::Exception::show(std::ostream &) const –> void

traceback(self: pyrosetta.rosetta.utility.excn.Exception) str

C++: utility::excn::Exception::traceback() –> const std::string &

what(self: pyrosetta.rosetta.std.exception) str

C++: std::exception::what() const –> const char *

class pyrosetta.rosetta.utility.excn.NullPointerError

Bases: RangeError

add_msg(self: pyrosetta.rosetta.utility.excn.Exception, str: str) None

C++: utility::excn::Exception::add_msg(const std::string &) –> void

assign(self: pyrosetta.rosetta.utility.excn.NullPointerError, : pyrosetta.rosetta.utility.excn.NullPointerError) pyrosetta.rosetta.utility.excn.NullPointerError

C++: utility::excn::NullPointerError::operator=(const class utility::excn::NullPointerError &) –> class utility::excn::NullPointerError &

crash_log(self: pyrosetta.rosetta.utility.excn.Exception) None
Invoke a crash log for throwing this exception.

If your exception is one which is a “non-error” exception, override this function to do nothing.

C++: utility::excn::Exception::crash_log() const –> void

display(self: pyrosetta.rosetta.utility.excn.Exception) None
Present this exception to the user.

Will invoke crash log reporting, if applicable

C++: utility::excn::Exception::display() const –> void

file(self: pyrosetta.rosetta.utility.excn.Exception) str

C++: utility::excn::Exception::file() –> const std::string &

line(self: pyrosetta.rosetta.utility.excn.Exception) int

C++: utility::excn::Exception::line() –> int

msg(*args, **kwargs)

Overloaded function.

  1. msg(self: pyrosetta.rosetta.utility.excn.Exception) -> str

Will return a formatted message (with file/line information)

C++: utility::excn::Exception::msg() const –> std::string

  1. msg(self: pyrosetta.rosetta.utility.excn.Exception, m: str) -> None

Will set the raw message.

C++: utility::excn::Exception::msg(const std::string &) –> void

prepend_to_msg(self: pyrosetta.rosetta.utility.excn.Exception, str: str) None

C++: utility::excn::Exception::prepend_to_msg(const std::string &) –> void

raw_msg(self: pyrosetta.rosetta.utility.excn.Exception) str

Will return the raw message (without file/line information)

C++: utility::excn::Exception::raw_msg() const –> std::string

show(self: pyrosetta.rosetta.utility.excn.Exception, : pyrosetta.rosetta.std.ostream) None

C++: utility::excn::Exception::show(std::ostream &) const –> void

traceback(self: pyrosetta.rosetta.utility.excn.Exception) str

C++: utility::excn::Exception::traceback() –> const std::string &

what(self: pyrosetta.rosetta.std.exception) str

C++: std::exception::what() const –> const char *

class pyrosetta.rosetta.utility.excn.RangeError

Bases: Exception

add_msg(self: pyrosetta.rosetta.utility.excn.Exception, str: str) None

C++: utility::excn::Exception::add_msg(const std::string &) –> void

assign(self: pyrosetta.rosetta.utility.excn.RangeError, : pyrosetta.rosetta.utility.excn.RangeError) pyrosetta.rosetta.utility.excn.RangeError

C++: utility::excn::RangeError::operator=(const class utility::excn::RangeError &) –> class utility::excn::RangeError &

crash_log(self: pyrosetta.rosetta.utility.excn.Exception) None
Invoke a crash log for throwing this exception.

If your exception is one which is a “non-error” exception, override this function to do nothing.

C++: utility::excn::Exception::crash_log() const –> void

display(self: pyrosetta.rosetta.utility.excn.Exception) None
Present this exception to the user.

Will invoke crash log reporting, if applicable

C++: utility::excn::Exception::display() const –> void

file(self: pyrosetta.rosetta.utility.excn.Exception) str

C++: utility::excn::Exception::file() –> const std::string &

line(self: pyrosetta.rosetta.utility.excn.Exception) int

C++: utility::excn::Exception::line() –> int

msg(*args, **kwargs)

Overloaded function.

  1. msg(self: pyrosetta.rosetta.utility.excn.Exception) -> str

Will return a formatted message (with file/line information)

C++: utility::excn::Exception::msg() const –> std::string

  1. msg(self: pyrosetta.rosetta.utility.excn.Exception, m: str) -> None

Will set the raw message.

C++: utility::excn::Exception::msg(const std::string &) –> void

prepend_to_msg(self: pyrosetta.rosetta.utility.excn.Exception, str: str) None

C++: utility::excn::Exception::prepend_to_msg(const std::string &) –> void

raw_msg(self: pyrosetta.rosetta.utility.excn.Exception) str

Will return the raw message (without file/line information)

C++: utility::excn::Exception::raw_msg() const –> std::string

show(self: pyrosetta.rosetta.utility.excn.Exception, : pyrosetta.rosetta.std.ostream) None

C++: utility::excn::Exception::show(std::ostream &) const –> void

traceback(self: pyrosetta.rosetta.utility.excn.Exception) str

C++: utility::excn::Exception::traceback() –> const std::string &

what(self: pyrosetta.rosetta.std.exception) str

C++: std::exception::what() const –> const char *

class pyrosetta.rosetta.utility.excn.RosettaScriptsOptionError

Bases: UserCorrectableIssue

add_msg(self: pyrosetta.rosetta.utility.excn.Exception, str: str) None

C++: utility::excn::Exception::add_msg(const std::string &) –> void

assign(self: pyrosetta.rosetta.utility.excn.RosettaScriptsOptionError, : pyrosetta.rosetta.utility.excn.RosettaScriptsOptionError) pyrosetta.rosetta.utility.excn.RosettaScriptsOptionError

C++: utility::excn::RosettaScriptsOptionError::operator=(const class utility::excn::RosettaScriptsOptionError &) –> class utility::excn::RosettaScriptsOptionError &

crash_log(self: pyrosetta.rosetta.utility.excn.UserCorrectableIssue) None

C++: utility::excn::UserCorrectableIssue::crash_log() const –> void

display(self: pyrosetta.rosetta.utility.excn.UserCorrectableIssue) None

C++: utility::excn::UserCorrectableIssue::display() const –> void

file(self: pyrosetta.rosetta.utility.excn.Exception) str

C++: utility::excn::Exception::file() –> const std::string &

line(self: pyrosetta.rosetta.utility.excn.Exception) int

C++: utility::excn::Exception::line() –> int

msg(*args, **kwargs)

Overloaded function.

  1. msg(self: pyrosetta.rosetta.utility.excn.Exception) -> str

Will return a formatted message (with file/line information)

C++: utility::excn::Exception::msg() const –> std::string

  1. msg(self: pyrosetta.rosetta.utility.excn.Exception, m: str) -> None

Will set the raw message.

C++: utility::excn::Exception::msg(const std::string &) –> void

prepend_to_msg(self: pyrosetta.rosetta.utility.excn.Exception, str: str) None

C++: utility::excn::Exception::prepend_to_msg(const std::string &) –> void

raw_msg(self: pyrosetta.rosetta.utility.excn.Exception) str

Will return the raw message (without file/line information)

C++: utility::excn::Exception::raw_msg() const –> std::string

show(self: pyrosetta.rosetta.utility.excn.Exception, : pyrosetta.rosetta.std.ostream) None

C++: utility::excn::Exception::show(std::ostream &) const –> void

traceback(self: pyrosetta.rosetta.utility.excn.Exception) str

C++: utility::excn::Exception::traceback() –> const std::string &

what(self: pyrosetta.rosetta.std.exception) str

C++: std::exception::what() const –> const char *

class pyrosetta.rosetta.utility.excn.UserCorrectableIssue

Bases: Exception

add_msg(self: pyrosetta.rosetta.utility.excn.Exception, str: str) None

C++: utility::excn::Exception::add_msg(const std::string &) –> void

assign(self: pyrosetta.rosetta.utility.excn.UserCorrectableIssue, : pyrosetta.rosetta.utility.excn.UserCorrectableIssue) pyrosetta.rosetta.utility.excn.UserCorrectableIssue

C++: utility::excn::UserCorrectableIssue::operator=(const class utility::excn::UserCorrectableIssue &) –> class utility::excn::UserCorrectableIssue &

crash_log(self: pyrosetta.rosetta.utility.excn.UserCorrectableIssue) None

C++: utility::excn::UserCorrectableIssue::crash_log() const –> void

display(self: pyrosetta.rosetta.utility.excn.UserCorrectableIssue) None

C++: utility::excn::UserCorrectableIssue::display() const –> void

file(self: pyrosetta.rosetta.utility.excn.Exception) str

C++: utility::excn::Exception::file() –> const std::string &

line(self: pyrosetta.rosetta.utility.excn.Exception) int

C++: utility::excn::Exception::line() –> int

msg(*args, **kwargs)

Overloaded function.

  1. msg(self: pyrosetta.rosetta.utility.excn.Exception) -> str

Will return a formatted message (with file/line information)

C++: utility::excn::Exception::msg() const –> std::string

  1. msg(self: pyrosetta.rosetta.utility.excn.Exception, m: str) -> None

Will set the raw message.

C++: utility::excn::Exception::msg(const std::string &) –> void

prepend_to_msg(self: pyrosetta.rosetta.utility.excn.Exception, str: str) None

C++: utility::excn::Exception::prepend_to_msg(const std::string &) –> void

raw_msg(self: pyrosetta.rosetta.utility.excn.Exception) str

Will return the raw message (without file/line information)

C++: utility::excn::Exception::raw_msg() const –> std::string

show(self: pyrosetta.rosetta.utility.excn.Exception, : pyrosetta.rosetta.std.ostream) None

C++: utility::excn::Exception::show(std::ostream &) const –> void

traceback(self: pyrosetta.rosetta.utility.excn.Exception) str

C++: utility::excn::Exception::traceback() –> const std::string &

what(self: pyrosetta.rosetta.std.exception) str

C++: std::exception::what() const –> const char *