Skip to content

Filter stacktrace for spec errors #112

Description

@elenam

Here is an example of a stacktrace:

Error: In function +, the second argument {:a +, :b [+ -], :c {:a +}} must be a number but is a map.
Found in file test.clj on, or before, line 10 in function eval9148.
    clojure.core/ex-info (core.clj line 4706)
    clojure.spec/spec-checking-fn (spec.clj line 545)
    clojure.spec/spec-checking-fn (spec.clj line 553)
    clojure.core/apply (core.clj line 651)
    clojure.core/apply (core.clj line 646)
    corefns.corefns/+ (corefns.clj line 281)
    corefns.corefns/+ (corefns.clj line 280)
    intro.test/eval9148 (test.clj line 10)
    intro.test/eval9148 (test.clj line 10)
    intro.core/-main (core.clj line 17)
    intro.core/-main (core.clj line 12)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions