1
|
import { HttpClient } from "@angular/common/http";
|
2
|
import { Injectable } from "@angular/core";
|
3
|
import { environment } from "src/environments/environment";
|
4
|
import { SystemException } from "../../models/system-exception.interface";
|
5
|
import { GenericRestService } from "../generic-rest.service";
|
6
|
|
7
|
@Injectable({
|
8
|
providedIn: 'root'
|
9
|
})
|
10
|
export class ApplicationLevelExceptionService extends GenericRestService<SystemException> {
|
11
|
|
12
|
constructor(private http: HttpClient) {
|
13
|
super(`${environment.baseApiUrl}${environment.apiUrl.documentsProcessesWs}/exceptions`, http);
|
14
|
}
|
15
|
|
16
|
}
|