• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

riseshia / gannbaruzoi / 87
79%

Build:
DEFAULT BRANCH: master
Ran 18 Oct 2017 04:07AM UTC
Jobs 1
Files 27
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
87

push

travis-ci

web-flow
fix: Can not returns errors object. (#50)

Full message was:

```
     ** (Absinthe.ExecutionError) Invalid value returned from resolver.

     Resolving field:

         updateTask

     Defined at:

         /Users/marocchino/Documents/gannbaruzoi/lib/schema.ex:58

     Resolving on:

         %{}

     Got value:

         {:error, [description: {"can't be blank", [validation: :required]}]}

     ...

     You're returning an :error tuple, but did you forget to include a `:message`
     key in every custom error (map or keyword list)?

     ...

     The result must be one of the following...

     ## For a data result

     `{:ok, any}` result will do.

     ### Examples:

     A simple integer result:

         {:ok, 1}

     Something more complex:

         {:ok, %Model.Thing{some: %{complex: :data}}}

     ## For an error result

     One or more errors for a field can be returned in a single `{:error, error_value}` tuple.

     `error_value` can be:
     - A simple error message string.
     - A map containing `:message` key, plus any additional serializable metadata.
     - A keyword list containing a `:message` key, plus any additional serializable metadata.
     - A list containing multiple of any/all of these.

     ### Examples

     A simple error message:

         {:error, "Something bad happened"}

     Multiple error messages:

         {:error, ["Something bad", "Even worse"]

     Single custom errors (note the required `:message` keys):

         {:error, message: "Unknown user", code: 21}
         {:error, %{message: "A database error occurred", details: format_db_error(some_value)}}

     Three errors of mixed types:

         {:error, ["Simple message", [message: "A keyword list error", code: 1], %{message: "A map error"}]}

     ## To activate a plugin

     `{:plugin, NameOfPluginModule, term}` to activate a plugin.

     See `Absinthe.Resolution.Pl... (continued)

112 of 134 relevant lines covered (83.58%)

5.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 87.1 (MIX_ENV=test) 18 Oct 2017 04:07AM UTC 0
83.58
Travis Job 87.1
Source Files on build 87
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #87
  • abbf84a0 on github
  • Prev Build on master (#84)
  • Next Build on master (#92)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc