mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
cleaned up remotedata for a better separation of concerns, moved statuscode and errormsg in to RemoteDataError object, moved pageInfo to PaginatedList object in the payload
This commit is contained in:
7
src/app/core/data/remote-data-error.ts
Normal file
7
src/app/core/data/remote-data-error.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export class RemoteDataError {
|
||||
constructor(
|
||||
public statusCode: string,
|
||||
public message: string
|
||||
) {
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user