Skip to content

Commit

Permalink
docs: fix jsdoc and package description
Browse files Browse the repository at this point in the history
  • Loading branch information
ajyey committed May 23, 2023
1 parent b0214b6 commit 0040d63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "fastmail-masked-email",
"version": "1.3.0-beta.2",
"description": "A library for creating, modifying, and otherwise interacting with Fastmail Masked Emails",
"description": "A library for creating, deleting, and updating Fastmail masked emails",
"author": "Andrew Leonard",
"main": "dist/index.js",
"repository": "https://github.com/ajyey/fastmail-masked-email",
Expand Down
6 changes: 3 additions & 3 deletions src/util/errorUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { AxiosError } from 'axios';

/**
* Handles an axios error and returns a rejected promise with a formatted error message based on the type of error and action attempted.
* @param error The axios error
* @param logger The logger to use for logging
* @param action The action that was being performed when the error occurred
* @param error - The axios error
* @param logger - The logger to use for logging
* @param action - The action that was being performed when the error occurred
*/
export const handleAxiosError = (
error: AxiosError,
Expand Down

0 comments on commit 0040d63

Please sign in to comment.