(
public status: number,
public data: unknown,
public message: string,
)
| 147 | } |
| 148 | |
| 149 | export class PlcClientError extends Error { |
| 150 | constructor( |
| 151 | public status: number, |
| 152 | public data: unknown, |
| 153 | public message: string, |
| 154 | ) { |
| 155 | super(message) |
| 156 | } |
| 157 | |
| 158 | static fromAxiosError(err: AxiosError) { |
nothing calls this directly
no outgoing calls
no test coverage detected