·api-error-handling
</>

api-error-handling

SweetAlert2 통합을 갖춘 PHP REST API를 위한 포괄적이고 표준화된 오류 응답 시스템입니다. 일관된 오류 형식 지정, 데이터베이스 예외에서 특정 오류 메시지 추출, 유효성 검사 오류 처리 및 원활한 프런트엔드 통합이 필요한 REST API를 구축할 때 사용합니다. PDOException 구문 분석, 비즈니스 규칙 추출 및 전체 SweetAlert2 오류 표시 패턴이 포함됩니다.

23설치·0트렌드·@peterbamuhigire

설치

$npx skills add https://github.com/peterbamuhigire/skills-web-dev --skill api-error-handling

api-error-handling 설치 방법

명령줄에서 api-error-handling AI 스킬을 개발 환경에 빠르게 설치

  1. 터미널 열기: 터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다
  2. 설치 명령어 실행: 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/peterbamuhigire/skills-web-dev --skill api-error-handling
  3. 설치 확인: 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code, Cursor, OpenClaw에서 사용할 수 있습니다

출처: peterbamuhigire/skills-web-dev.

Implement comprehensive, standardized error response system for PHP REST APIs with consistent JSON envelopes, specific error message extraction, and SweetAlert2 integration.

Security Baseline (Required): Always load and apply the Vibe Security Skill for PHP API work. Do not leak sensitive data in responses or logs.

Cross-Platform: APIs deploy to Windows (dev), Ubuntu (staging), Debian (production), all running MySQL 8.x. Use utf8mb4unicodeci collation. Match file/directory case exactly in require paths (Linux is case-sensitive). Use forward slashes in paths.

SweetAlert2 통합을 갖춘 PHP REST API를 위한 포괄적이고 표준화된 오류 응답 시스템입니다. 일관된 오류 형식 지정, 데이터베이스 예외에서 특정 오류 메시지 추출, 유효성 검사 오류 처리 및 원활한 프런트엔드 통합이 필요한 REST API를 구축할 때 사용합니다. PDOException 구문 분석, 비즈니스 규칙 추출 및 전체 SweetAlert2 오류 표시 패턴이 포함됩니다. 출처: peterbamuhigire/skills-web-dev.

인용 가능한 정보

AI/검색 인용용 안정적인 필드와 명령어.

설치 명령어
npx skills add https://github.com/peterbamuhigire/skills-web-dev --skill api-error-handling
카테고리
</>개발 도구
인증됨
최초 등록
2026-02-20
업데이트
2026-03-11

Browse more skills from peterbamuhigire/skills-web-dev

빠른 답변

api-error-handling이란?

SweetAlert2 통합을 갖춘 PHP REST API를 위한 포괄적이고 표준화된 오류 응답 시스템입니다. 일관된 오류 형식 지정, 데이터베이스 예외에서 특정 오류 메시지 추출, 유효성 검사 오류 처리 및 원활한 프런트엔드 통합이 필요한 REST API를 구축할 때 사용합니다. PDOException 구문 분석, 비즈니스 규칙 추출 및 전체 SweetAlert2 오류 표시 패턴이 포함됩니다. 출처: peterbamuhigire/skills-web-dev.

api-error-handling 설치 방법은?

터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/peterbamuhigire/skills-web-dev --skill api-error-handling 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code, Cursor, OpenClaw에서 사용할 수 있습니다

소스 저장소는 어디인가요?

https://github.com/peterbamuhigire/skills-web-dev