2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

ErrCodes.pm: new version 1.3.8

git-svn-id: https://svn.fhem.de/fhem/trunk@29302 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2024-10-27 09:59:58 +00:00
parent 462eecd5e7
commit af1c52331f

View File

@ -3,7 +3,7 @@
#########################################################################################################################
# ErrCodes.pm
#
# (c) 2020 - 2023 by Heiko Maaz
# (c) 2020 - 2024 by Heiko Maaz
# e-mail: Heiko dot Maaz at t-online dot de
#
# This Module provides Synology API Error Codes.
@ -32,7 +32,7 @@ use warnings;
use utf8;
use Carp qw(croak carp);
use version; our $VERSION = version->declare('1.3.7');
use version; our $VERSION = version->declare('1.3.8');
use Exporter ('import');
our @EXPORT_OK = qw(expErrorsAuth expErrors);
@ -51,18 +51,29 @@ my %errauthsscam = ( # Authen
100 => "Unknown error",
101 => "The account parameter is not specified",
102 => "API does not exist",
400 => "invalid user or password",
401 => "Guest or disabled account",
105 => "No permission",
117 => "Internal error",
119 => "SID not found",
400 => "invalid user or password, WebAPI >= 9.2.1: Execute failed",
401 => "Guest or disabled account, WebAPI >= 9.2.1: Param invalid",
402 => "Permission denied - DSM-Session: make sure user is member of Admin-group, SVS-Session: make sure SVS package is started, make sure FHEM-Server IP won't be blocked in DSM automated blocking list",
403 => "2-factor authentication code required",
403 => "2-factor authentication code required, WebAPI >= 9.2.1: Insufficient license",
404 => "Failed to authenticate 2-factor authentication code",
405 => "method not allowd - maybe the password is too long",
406 => "enforce to authenticate with 2-factor authentication code",
407 => "blocked IP source - make sure FHEM-Server IP won't be blocked in DSM automated blocking list",
406 => "enforce to authenticate with 2-factor authentication code, WebAPI >= 9.2.1: Related server conn failed",
407 => "blocked IP source - make sure FHEM-Server IP won't be blocked in DSM automated blocking list, WebAPI >= 9.2.1: CMS closed reload",
408 => "expired password cannot change",
409 => "Password expired",
410 => "Password must be changed (when first time use or after reset password by admin)",
411 => "Account locked (when account max try exceed)",
416 => "Msg connect host failed",
418 => "Object not exist",
424 => "Upgrade dp",
440 => "License conn server failed",
441 => "License activation failed",
448 => "License activation ssl verify failed",
450 => "Not apply on migrating cam",
457 => "Camcap error default",
);
my %errsscam = ( # Standard Error Codes der Surveillance Station API
@ -71,26 +82,35 @@ my %errsscam = ( # Standar
102 => "API does not exist",
103 => "Method does not exist",
104 => "This API version is not supported",
105 => "Insufficient user privilege",
105 => "Insufficient user privilege, WebAPI >= 9.2.1: No permission",
106 => "Connection time out",
107 => "Multiple login detected",
117 => "need manager rights in SurveillanceStation for operation",
400 => "Execution failed",
401 => "Parameter invalid",
117 => "need manager rights in SurveillanceStation for operation, WebAPI >= 9.2.1: Internal error",
119 => "SID not found",
400 => "Execute failed",
401 => "Parameter invalid, WebAPI >= 9.2.1: Param invalid",
402 => "Camera disabled",
403 => "Insufficient license",
404 => "Codec activation failed",
405 => "CMS server connection failed",
407 => "CMS closed",
406 => "Related server conn failed",
407 => "CMS closed reload",
410 => "Service is not enabled",
412 => "Need to add license",
413 => "Reach the maximum of platform",
414 => "Some events not exist",
415 => "message connect failed",
416 => "Msg connect host failed",
417 => "Test Connection Error",
418 => "Object is not exist",
419 => "Visualstation name repetition",
424 => "Upgrade dp",
439 => "Too many items selected",
440 => "License conn server failed",
441 => "License activation failed",
448 => "License activation ssl verify failed",
450 => "Not apply on migrating cam",
457 => "Camcap error default",
502 => "Camera disconnected",
600 => "Presetname and PresetID not found in Hash",
806 => "couldn't get Synology Surveillance Station API informations",