failableof response error handling pattern implemented