1.0.135 • Published 5 days ago
encodeagent-helper-lambda v1.0.135
encodeagent-helper-lambda
Always throw error
throw {
//http error: it is optional, only required if the called is a lambda function
...HTTPERROR_400,
//type: suggest to have it for every error
type: "ERROR_API_ERROR",
//source: keep the module name and function name
source: "auth.signIn",
//message: provide human readable error message. this optional, we should leave the caller to handle it with proper message that may also support multi-langurage
message: "",
//detail: provide helpful data to help understand the error better, it can have any data in it.
detail: {
reason: "",
...anything
},
//error: this is the inner error.
error
};
1.0.135
5 days ago
1.0.134
7 days ago
1.0.132
8 days ago
1.0.131
8 days ago
1.0.133
8 days ago
1.0.130
8 days ago
1.0.129
10 days ago
1.0.128
11 days ago
1.0.127
11 days ago
1.0.126
11 days ago
1.0.125
19 days ago
1.0.123
24 days ago
1.0.124
24 days ago
1.0.122
26 days ago
1.0.121
29 days ago
1.0.120
1 month ago
1.0.119
1 month ago
1.0.118
1 month ago
1.0.117
1 month ago
1.0.114
1 month ago
1.0.113
1 month ago
1.0.116
1 month ago
1.0.115
1 month ago
1.0.112
1 month ago
1.0.110
1 month ago
1.0.111
1 month ago
1.0.109
2 months ago
1.0.107
2 months ago
1.0.108
2 months ago
1.0.106
2 months ago
1.0.103
2 months ago
1.0.105
2 months ago
1.0.104
2 months ago
1.0.102
2 months ago
1.0.101
2 months ago
1.0.100
2 months ago
1.0.99
2 months ago
1.0.98
2 months ago