Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C Certificator-CertAPI
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Turris
  • Sentinel
  • Certificator-CertAPI
  • Merge requests
  • !3

Messages - Distinguish fail and error states

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Martin Prudek requested to merge messages into master Aug 22, 2018
  • Overview 66
  • Commits 6
  • Pipelines 20
  • Changes 8

Based on updated documentation (mprudek-group/readme_test!3), client data and client authentication errors are marked with different states:

  • ok: no-error
  • fail: authentication error
  • error: server-side or client data error

Each response with such a state must be filled with message parameter containing brief info about response status

Edited Sep 06, 2018 by Vojtech Myslivec
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: messages