1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2026-05-16 09:21:12 +02:00
Files
pigallery2/common/entities/Message.ts
T
2016-03-26 11:19:10 +01:00

10 lines
221 B
TypeScript

import {Error} from "./Error";
export class Message<T>{
public error:Error = null;
public result:T = null;
constructor(error:Error, result:T){
this.error = error;
this.result = result;
}
}