You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-2Lines changed: 17 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,9 @@ This is a **[laravel](https://laravel.com) service provider** for [Msg91 APIs](h
16
16
-[Verify OTP](#verify-otp)
17
17
-[Resend OTP](#resend-otp)
18
18
-[Sending SMS](#sending-sms)
19
-
-[Handling Error Responses](#error-responses)
19
+
-[Handling Responses](#handling-responses)
20
+
-[Related](#related)
21
+
-[Acknowledgements](#acknowledgements)
20
22
21
23
## Installation
22
24
@@ -147,7 +149,7 @@ Msg91::sms()
147
149
->send(); // send
148
150
```
149
151
150
-
## Error Responses
152
+
## Handling Responses
151
153
152
154
All the services will return `\Craftsys\Msg91\Response` instance for all successfully responses or will throw exceptions if request validation failed (`\Craftsys\Msg91\Exceptions\ValidationException`)or there was an error in the response (`\Craftsys\Msg91\Exceptions\ResponseErrorException`).
0 commit comments