-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test the save, find, stats, and clear class methods. No tests are added for the logging methods. Minor styling changes in some other files, as applied by prettier.
- Loading branch information
1 parent
8c52186
commit 83d23a7
Showing
5 changed files
with
604 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
export class InvalidPackageError extends Error { | ||
constructor(public packagePath: string, public reason: string) { | ||
constructor( | ||
public packagePath: string, | ||
public reason: string | ||
) { | ||
super(`The package at ${packagePath} is not a valid FHIR package: ${reason}.`); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
export class InvalidResourceError extends Error { | ||
constructor(public resourcePath: string, public reason: string) { | ||
constructor( | ||
public resourcePath: string, | ||
public reason: string | ||
) { | ||
super(`The resource at ${resourcePath} is not a valid FHIR resource: ${reason}.`); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.