Skip to main content
Version: Next

Error Module

Reduct Errors

ReductError​

class ReductError(Exception)

General exception for all HTTP errors

from_header​

@staticmethod
def from_header(header: str) -> "ReductError"

Create ReductError from HTTP header with status code and message (batched write )

status_code​

@property
def status_code()

Return HTTP status code

message​

@property
def message()

Return error message