Add better error messages
This commit is contained in:
parent
7a3a4c6791
commit
df9576bbaf
@ -309,7 +309,7 @@ export class RustTarget extends CompileTarget<{ rust_crate: string }> {
|
||||
|
||||
generateService(definition: ServiceDefinition): void {
|
||||
console.log(
|
||||
chalk.yellow("WARNING:"),
|
||||
chalk.yellow("[RUST] WARNING:"),
|
||||
"Rust support for services is WIP. Use with care!"
|
||||
);
|
||||
this.generateServiceServer(definition);
|
||||
|
@ -78,7 +78,10 @@ export class ZIGTarget extends CompileTarget<{ csharp_namespace: string }> {
|
||||
}
|
||||
|
||||
generateService(definition: ServiceDefinition): void {
|
||||
throw new Error("Method not implemented.");
|
||||
console.log(
|
||||
chalk.yellow("[ZIG] WARNING:"),
|
||||
"ZIG support for services is not yet there. Service generation is skipped!"
|
||||
);
|
||||
}
|
||||
|
||||
finalize(steps: Step[]): void {
|
||||
@ -94,7 +97,7 @@ export class ZIGTarget extends CompileTarget<{ csharp_namespace: string }> {
|
||||
break;
|
||||
default:
|
||||
console.warn(
|
||||
chalk.yellow("WARNING:"),
|
||||
chalk.yellow("[ZIG] WARNING:"),
|
||||
"unimplemented step found:",
|
||||
type
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user