Last active
January 29, 2020 14:53
-
-
Save caioaao/0505aef68992f5bd6da88aba3e27a6f8 to your computer and use it in GitHub Desktop.
state-flow stack trace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns playground | |
(:require [state-flow.core :as state-flow] | |
[state-flow.state :as state])) | |
(defn inc-a [s] | |
(update s :a inc)) | |
(defn change-state [] | |
(state/modify inc-a)) | |
(state-flow/run! | |
(state-flow/flow "I flow" | |
(change-state))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20-01-29 14:53:35 ble INFO [state-flow.core:112] - Flow "I flow (line 12)" failed with exception | |
clojure.core/eval core.clj: 3214 | |
... | |
playground/eval21989 REPL Input | |
... | |
playground/eval22003 playground.clj: 11 | |
state-flow.core/run! core.clj: 106 | |
state-flow.core/run! core.clj: 108 | |
state-flow.core/run core.clj: 96 | |
cats.monad.state/run state.cljc: 147 | |
state-flow.state/reify/fn state.clj: 39 | |
... | |
cats.monad.exception/wrap/fn exception.cljc: 250 | |
cats.monad.exception/exec-try-on exception.cljc: 197 | |
cats.monad.exception/wrap/fn/func--auto-- exception.cljc: 250 | |
clojure.core/apply core.clj: 665 | |
... | |
state-flow.state/reify/fn state.clj: 34 | |
... | |
cats.monad.exception/wrap/fn exception.cljc: 250 | |
cats.monad.exception/exec-try-on exception.cljc: 197 | |
cats.monad.exception/wrap/fn/func--auto-- exception.cljc: 250 | |
clojure.core/apply core.clj: 665 | |
... | |
state-flow.state/reify/fn state.clj: 53 | |
playground/inc-a playground.clj: 6 | |
clojure.core/update core.clj: 6196 | |
clojure.core/inc core.clj: 927 | |
... | |
java.lang.NullPointerException: | |
Syntax error (ExceptionInfo) compiling at (playground.clj:11:1). | |
Flow "I flow (line 12)" failed with exception |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment