excn

Bindings for utility::excn namespace

class pyrosetta.rosetta.utility.excn.EXCN_BadInput

Bases: pyrosetta.rosetta.utility.excn.EXCN_IO

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.

__delattr__

Implement delattr(self, name).

__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyrosetta.rosetta.utility.excn.EXCN_BadInput, msg: str) -> None
  2. __init__(self: pyrosetta.rosetta.utility.excn.EXCN_BadInput, arg0: pyrosetta.rosetta.utility.excn.EXCN_BadInput) -> None
__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__() → int

size of object in memory, in bytes

__str__(self: pyrosetta.rosetta.utility.excn.EXCN_Base) → str
__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

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

C++: utility::excn::EXCN_Msg_Exception::add_msg(const class std::basic_string<char> &) –> void

assign(self: pyrosetta.rosetta.utility.excn.EXCN_BadInput, : pyrosetta.rosetta.utility.excn.EXCN_BadInput) → pyrosetta.rosetta.utility.excn.EXCN_BadInput

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

msg(self: pyrosetta.rosetta.utility.excn.EXCN_Msg_Exception) → str

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

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

C++: utility::excn::EXCN_Msg_Exception::show(class std::basic_ostream<char> &) const –> void

what(self: pyrosetta.rosetta.utility.excn.EXCN_Msg_Exception) → str

C++: utility::excn::EXCN_Msg_Exception::what() const –> const char *