Refactored fb_error to be mailbox_error and moved its definition