We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d65cc47 commit f817bfdCopy full SHA for f817bfd
CNJ/decomposer.go
@@ -41,7 +41,17 @@ func DecomposeCNJ(cnj string) (DecomposedCNJ, error) {
41
42
dt, err := CNJDatabase.FetchDistrict(semiCNJ)
43
if err != nil {
44
- return DecomposedCNJ{}, err
+ return DecomposedCNJ{
45
+ LawsuitNumber: lawsuitNumber,
46
+ VerifyingDigit: verifyingDigit,
47
+ ProtocolYear: yearProtocol,
48
+ Segment: segment,
49
+ Court: court,
50
+ SourceUnit: sourceUnit,
51
+ ArgNumber: argNumber,
52
+ District: err.Error(),
53
+ UF: err.Error(),
54
+ }, err
55
}
56
57
return DecomposedCNJ{
0 commit comments