Skip to content

fix(error handling api) : create composable for better error handling api - #1073

Merged
sanaderi merged 2 commits into
GamaEdtech:upgrade-v4from
alireza013013:fix/error-handling-api
Jul 25, 2026
Merged

fix(error handling api) : create composable for better error handling api#1073
sanaderi merged 2 commits into
GamaEdtech:upgrade-v4from
alireza013013:fix/error-handling-api

Conversation

@alireza013013

Copy link
Copy Markdown
Collaborator

Description

  • create useApiErrorHandler composable for handle api error , catch error and create standard error object for project
  • add types
  • use composable in useTags and useTagAdmin
  • test request with different message
  • improve error handling in useAppSettingAdmin

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Other (please describe):

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings/errors
  • I have added tests that prove my fix is effective or that my feature works

- create useApiErrorHandler composable for handle api error , catch error and create standard error object for project
- add types
- use composable in useTags and useTagAdmin
- test request with diffrent message
@vercel

vercel Bot commented Jul 23, 2026

Copy link
Copy Markdown

@alireza013013 is attempting to deploy a commit to the GamaEdtech Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown

Hey there and thank you for opening this pull request! 👋🏼

We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted.

Details:

No release type found in pull request title "fix(error handling api) : create composable for better error handling api". Add a prefix to indicate what kind of release this pull request corresponds to. For reference, see https://www.conventionalcommits.org/

Available types:
 - feat: A new feature
 - fix: A bug fix
 - docs: Documentation only changes
 - style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
 - refactor: A code change that neither fixes a bug nor adds a feature
 - perf: A code change that improves performance
 - test: Adding missing tests or correcting existing tests
 - build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
 - ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
 - chore: Other changes that don't modify src or test files
 - revert: Reverts a previous commit

@sanaderi
sanaderi merged commit f4162aa into GamaEdtech:upgrade-v4 Jul 25, 2026
0 of 3 checks passed
@alireza013013
alireza013013 deleted the fix/error-handling-api branch July 25, 2026 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants