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

riseshia / gannbaruzoi / 85
84%
master: 79%

Build:
Build:
LAST BUILD BRANCH: support-sub
DEFAULT BRANCH: master
Ran 16 Oct 2017 10:22PM CUT
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
85

push

travis-ci

marocchino
fix: Can not returns errors object.

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.Plugin` for more information.

     code: result = execute_query(document,
     stack... (continued)

112 of 134 relevant lines covered (83.58%)

5.95 hits per line

Jobs
ID Job ID Ran Files Coverage
1 85.1 (MIX_ENV=test) 16 Oct 2017 10:22PM CUT 0
83.58
Travis Job 85.1
Source Files on build 85
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
No data available in table
Showing 0 to 0 of 0 entries
  • Previous
  • Next
  • Back to Repo
  • Travis Build #85
  • 4bdd4838 on github
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

© 2025 Coveralls, Inc