{"id":21318644,"url":"https://github.com/codaline-io/create-apollo-error","last_synced_at":"2025-03-15T22:14:35.882Z","repository":{"id":63166899,"uuid":"565716622","full_name":"codaline-io/create-apollo-error","owner":"codaline-io","description":"smart helper to create errors for apollo server \u003e=v4","archived":false,"fork":false,"pushed_at":"2024-03-21T10:00:08.000Z","size":427,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-25T20:47:08.568Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codaline-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-14T07:09:46.000Z","updated_at":"2022-11-14T07:32:48.000Z","dependencies_parsed_at":"2023-01-23T10:30:22.477Z","dependency_job_id":null,"html_url":"https://github.com/codaline-io/create-apollo-error","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codaline-io%2Fcreate-apollo-error","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codaline-io%2Fcreate-apollo-error/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codaline-io%2Fcreate-apollo-error/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codaline-io%2Fcreate-apollo-error/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codaline-io","download_url":"https://codeload.github.com/codaline-io/create-apollo-error/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243796741,"owners_count":20349264,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T19:18:52.855Z","updated_at":"2025-03-15T22:14:35.863Z","avatar_url":"https://github.com/codaline-io.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# create-apollo-error\nsmart helper to create errors for apollo server \u003e=v4\n\n## Usage\n\n```TS\nimport { createApolloError } from '@codaline-io/create-apollo-error'\n\nthrow createApolloError(message, optionalErrorCode, optionalErrorType, optionalGraphQLErrorOptions)\n```\n\n- optionalErrorCode?: string | null -\u003e graphqlError.extensions.code\n- optionalErrorType?: string | null -\u003e graphqlError.extensions.type\n- optionalGraphQLErrorOptions?: GraphQLErrorOptions, e.g. setting original error and so on\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodaline-io%2Fcreate-apollo-error","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodaline-io%2Fcreate-apollo-error","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodaline-io%2Fcreate-apollo-error/lists"}