Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
C
coconva2118
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Hanumant Pratap Singh
  • coconva2118
  • Repository

Switch branch/tag
  • coconva2118
  • vendor
  • webonyx
  • graphql-php
  • src
  • Error
  • UserError.php
Find file
BlameHistoryPermalink
  • Ketan's avatar
    added files · f012f907
    Ketan authored 5 years ago
    f012f907
UserError.php 458 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
<?php
namespace GraphQL\Error;

/**
 * Class UserError
 *
 * Error caused by actions of GraphQL clients. Can be safely displayed to a client...
 *
 * @package GraphQL\Error
 */
class UserError extends \RuntimeException implements ClientAware
{
    /**
     * @return bool
     */
    public function isClientSafe()
    {
        return true;
    }

    /**
     * @return string
     */
    public function getCategory()
    {
        return 'user';
    }
}

Replace UserError.php

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.