fix: assign message to error object in handle_error using Object.defineProperty
handle_error
Object.defineProperty