Status Code

The StatusCode enumeration class represents all possible status codes.

class newsbinpro_client.statuscode.StatusCode(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: IntEnum

StatusCode is an enumerated type (IntEnum) representing various status codes and error codes.

This enum is used to define internal codes, Newsbin operational codes, and errors that are encountered during executions.

AuthNeedAuth = 480

Authentication is required for this operation.

ErrorAgeMinGreaterThanMax = 402

The minimum age exceeds the maximum age.

ErrorAuthNoPasswordSet = 413

No password is set for authentication.

ErrorAuthNotRegistered = 414

The user is not registered.

ErrorDownloadIncomplete = 431

The download process was incomplete.

ErrorDownloadNoFile = 430

No file exists for the specified download.

ErrorFilterNotFound = 440

The specified filter was not found.

ErrorFindInvalidSearchString = 410

The search string provided is invalid.

ErrorGroupListNoGroup = 407

Missing group in the group list.

ErrorGroupListRange = 403

The group list range is invalid.

ErrorNotEnoughParams = 401

Insufficient parameters were provided for the operation.

ErrorRangeExceeded = 405

The range exceeds allowable limits.

ErrorRangeMinGreaterThanMax = 404

The range’s minimum value exceeds the maximum value.

ErrorSortColumnExceeded = 406

The sort column exceeds valid limits.

ErrorUnableToSaveConfig = 419

Unable to save configuration changes.

ErrorUnimplemented = 500

The operation is not yet implemented.

ErrorUnregistered = 415

An unregistered user attempted an operation.

ErrorUpdateGroupMissing = 408

The update operation is missing a group.

ErrorUpdateGroupNotFound = 409

The specified update group was not found.

ErrorUploadMissingFileName = 411

The upload operation is missing a file name.

ErrorUploadMissingFileSize = 420

The upload is missing the file size.

ErrorUploadNoAutoload = 421

No autoload is set for this upload operation.

ErrorUploadUnableToSave = 412

Failure occurred while saving an uploaded file.

ErrorVarFormatError = 416

A variable format error occurred.

ErrorVarUnableToSet = 418

Failed to set a specified variable.

ErrorVarVariableNotFound = 417

A specified variable was not found.

OK = 200

The operation was successful.

ParseError = 90

The operation encountered a parse error.

StatusBwLimiterOff = 252

The bandwidth limiter is disabled.

StatusBwLimiterOn = 251

The bandwidth limiter is enabled.

StatusPauseOff = 254

The pause mode is disabled.

StatusPauseOn = 253

The pause mode is enabled.

StatusPostData = 300

Indicates new data for posting.