https://github.com/LeoPlatform/Nodejs/blob/220c3075f1030f7f38aa145d96c68536b073ce9f/wrappers/cron.js#L162 This line should actually check for `error.name` as the `aws-sdk v3` does no longer use `error.code`